Jump to content

Community

Download: (SOS30) Change Topic Author v1.0.1


Adriano Faria
 Share

Recommended Posts

File Name: (SOS30) Change Topic Author v1.0.1
File Submitter: Adriano Faria
File Submitted: 03 Jun 2009
File Category: Modifications

This mod allows admins and supermoderators to change topic author (and his posts) directly on topic view.
Number of posts of new and old author will be updated.

Compatibility:

  • IP.Board 3.0.0


Changes from 1.0.0 to 1.0.1:
  • Fixed the ajax on member name, since it has changed on IP.Board 3.0.2


Click here to download this file
Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

I tried to install this modification on my original forum, and it did not work, I thought maybe it is some of the other modifications that I'm running. But, that does not seem to be the problem, I installed a fresh IPB 3.0.4 Forum in a new directory, and this mod still doesn't work. It gives me the an IPS Driver Error whenever I try to read a thread.

There is no modification installed on this brand new forum.

Here is the SQL Error Log that I have:


===================================================

 Date: Sat, 20 Feb 2010 07:35:14 +0000

 Error Number: 1054

 Error: Unknown column 'm.member_font_color' in 'field list'

 IP Address: **.***.***.***

 Page: /forum3/index.php?/topic/1-welcome/

 Debug: array (

  1 => 

  array (

    'file' => '/home/hiddende/public_html/forum3/ips_kernel/classDb.php',

    'line' => 1010,

    'function' => 'query',

    'class' => 'db_driver_mysql',

  ),

  3 => 

  array (

    'file' => '/home/hiddende/public_html/forum3/admin/applications/forums/modules_public/forums/topics.php',

    'line' => 404,

    'function' => '_getTopicDataLinear',

    'class' => 'public_forums_forums_topics',

  ),

  4 => 

  array (

    'file' => '/home/hiddende/public_html/forum3/admin/sources/base/ipsController.php',

    'line' => 291,

    'function' => 'doExecute',

    'class' => 'public_forums_forums_topics',

  ),

)

 mySQL query error: SELECT p.*,m.member_font_color,m.member_font_weight,m.member_font_family,m.member_font_style,m.member_font_size,m.member_text_decoration,m.member_text_align,m.member_text_transform,m.member_font_variant,m.member_id as mid,m.name,m.member_group_id,m.email,m.joined,m.posts, m.last_visit, m.last_activity,m.login_anonymous,m.title,m.hide_email, m.warn_level, m.warn_lastwarn, m.members_display_name, m.members_seo_name, m.has_gallery, m.has_blog, m.members_bitoptions, m.points, m.p_locked,pp.*,g.g_access_cp,pc.*,rep_index.rep_rating as has_given_rep,rep_cache.rep_points,cca.*,ccb.cache_content as cache_content_sig, ccb.cache_updated as cache_updated_sig FROM posts p  LEFT JOIN members m ON ( m.member_id=p.author_id ) 

 LEFT JOIN profile_portal pp ON ( m.member_id=pp.pp_member_id ) 

 LEFT JOIN groups g ON ( g.g_id=m.member_group_id ) 

 LEFT JOIN pfields_content pc ON ( pc.member_id=p.author_id ) 

 LEFT JOIN reputation_index rep_index ON ( rep_index.app='forums' AND 

						             rep_index.type='pid' AND 

						             rep_index.type_id=p.pid AND 

						             rep_index.member_id=1 ) 

 LEFT JOIN reputation_cache rep_cache ON ( rep_cache.app='forums' AND rep_cache.type='pid' AND rep_cache.type_id=p.pid ) 

 LEFT JOIN content_cache_posts cca ON ( cca.cache_content_id=p.pid ) 

 LEFT JOIN content_cache_sigs ccb ON ( ccb.cache_content_id=m.member_id )   WHERE p.pid IN(1,3) ORDER BY pid asc

Also the sad thing is that in the original installation code when I go to edit the file admin\applications\forums\modules_public\moderate\moderate.php and find:

	/**

	 * Display the topic history

	 *

	 * @access	private

	 * @return	void		[Outputs to screen]

	 */

	private function _topicHistory()

	{

This does not exist, instead there is:

	/**

	 * Display the topic history

	 *

	 * @access	protected

	 * @return	void		[Outputs to screen]

	 */

	protected function _topicHistory()

	{



Do the words Private and Protected make a difference?? IF not then any help on how to solve the problem?

Thanks ;)

Link to comment
Share on other sites

  • 1 month later...

File Name: (SOS30) Change Topic Author v1.0.1


File Submitter: [url=http://community.invisionpower.com/index.php?showuser=114025]Adriano Faria[/url]


File Submitted: 03 Jun 2009




This mod allows admins and supermoderators to change topic author (and his posts) directly on topic view.


Number of posts of new and old author will be updated.



<b>Compatibility</b>:


<ul><li>IP.Board 3.0.0</li></ul>



<b>Changes from 1.0.0 to 1.0.1</b>:


<ul><li>Fixed the ajax on member name, since it has changed on IP.Board 3.0.2</li></ul>







Hello nice add on here....

Thanks, MJS
Link to comment
Share on other sites

  • 2 months later...
  • 3 months later...

No. You can use this feature in this hook: [url="http://community.invisionpower.com/files/file/3048-sos30-easy-topic-moderation-v101/"]http://community.inv...oderation-v101/[/url]



And yes, it works in 3.1.X.




Obrigado Adriano. Hadn't noticed the other Mod which does all the same things.
Left you PM regarding other Mod idea.
Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...
  • 9 months later...
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy