Jump to content

  •  

- - - - -

Group Format (Hook) Fix for 3.4.x


  • Please log in to reply
2 replies to this topic

#1 Needless

Needless

    Newbie

  • Member
  • Pip
  • 1 posts

Posted 09 January 2017 - 09:20 PM

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):
Posted Image

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.

#2 Skull44

Skull44

    Fire Teh Project

  • Member
  • PipPipPip
  • 35 posts
  • LocationEarth

Posted 10 January 2017 - 03:52 PM

Wrong section buddy. But nice tutorial (if it works).

This sectiom is for XenForo and has nothing to do with IPB haha, doesn't matter, a moderator and/or an administrator will move it for you.

But nice and useful topic you have.

#3 ʜᴇʟʟғɪʀᴇ

ʜᴇʟʟғɪʀᴇ

    Member

  • Member
  • PipPip
  • 16 posts

Posted 22 January 2017 - 06:22 PM

View PostSkull44, on 10 January 2017 - 03:52 PM, said:

Wrong section buddy. But nice tutorial (if it works).

This sectiom is for XenForo and has nothing to do with IPB haha, doesn't matter, a moderator and/or an administrator will move it for you.

But nice and useful topic you have.

your on the wrong page :wacko:

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users