Saturday, September 7, 2013

Group Format (Hook) Fix for 3.4.x On IP Board

Group Format (Hook) Fix for 3.4.x On IP Board. Users who have the hook (TB) Group Format 4.1.1 installed with their IPB 3.4.x package, may have noticed an oddity with their View New Content page (something similar to the image below):

Group Format (Hook) Fix for 3.4.x On IP Board

If you are experiencing this issue, it is caused by the aforementioned hook. You'll need to make one small edit and you'll be all set.

Navigate to: <Your IPB Root>/Hooks/tbGfSkinSearch_xxxxx.php
  • The "xxxxx" substitutes the string of random characters attached to your file.
Find this line:

$data['last_poster'] = $data['last_poster_id'] ? IPSMember::makeProfileLink( TBGroupFormat::makeNameFormatted( $data, $data['last_poster_name'], $data['last_poster_group'], 'last_poster_id' ), $data['last_poster_id'], $data['seo_last_name'] ) : $this->settings['guest_name_pre'] . $data['last_poster_name'] . $this->settings['guest_name_suf'];
... and replace it with this:
/*$data['last_poster'] = $data['last_poster_id'] ? IPSMember::makeProfileLink( TBGroupFormat::makeNameFormatted( $data, $data['last_poster_name'], $data['last_poster_group'], 'last_poster_id' ), $data['last_poster_id'], $data['seo_last_name'] ) : $this->settings['guest_name_pre'] . $data['last_poster_name'] . $this->settings['guest_name_suf'];*/


Save your edit, and refresh your page -- fixed!

I strongly recommend downloading a copy of the file, making the edit, and then re-uploading it to avoid any issues with the upload. Editing the file inside of FTP programs such as Filezilla is not always efficient.
  • Credits to Paradiizee for working with me to find a fix for this. Be sure to thank him!
  • Please Note: This is only a temporary fix until the hook's original author makes the appropriate updates for full 3.4.x support.

 It is Group Format (Hook) Fix for 3.4.x On IP Board, good luck!

thumbnail Title: Group Format (Hook) Fix for 3.4.x On IP Board
Posted by:Stuard Van
Published :2013-09-07T10:00:00-07:00
Rating: 5
Reviewer: 5 Reviews
Group Format (Hook) Fix for 3.4.x On IP Board
Share :
Related articles:

0 comments :

Post a Comment