Massive Dynamics Posted October 14, 2010 Posted October 14, 2010 File Name: [MD31] Group format 1.0.6File Submitter: Massive DynamicsFile Submitted: 14 Oct 2010File Updated: 18 Oct 2010File Category: Hooks and PluginsThis is a single hook that, without any file edits, formats usernames across the board. More areas coming soon Formatted areas:memberData name (Member info box/bar at the top) (with images stripped due to HTML incompatibilities)Categories and forums on board index viewForums, subforums, and topics on forum viewsModerator team displayMember list (with images stripped due to HTML incompatibilities)Reputation popupTopic previewAnnouncement author in forum viewAnnouncement author in announcement viewPost posters in topic viewName in profile (images stripped due to HTML incompatibilities) (Added in 1.0.1)Friends in profile (Added in 1.0.1)Status updates and replies in profiles (Added in 1.0.2)Comments in profiles (Added in 1.0.2)Status updates in board index (Added in 1.0.2)Bug fixes in 1.0.3:Forum view: Topics show login name Errors in forum listing Forum format isn't done properly Bugs fixed in 1.0.4:Forum view: 0 user(s) Wrong author name Bugs fixed in 1.0.5:Query count increased a lot " in format breaks Bugs fixed in 1.0.6:Queries not fixed in profileClick here to download this file
JahLion Posted October 14, 2010 Posted October 14, 2010 :thumbsup: Very nice thank you very much man..work great but it have the profile pictures with this around them " Photo" width='50' height='50' class='photo' />" so iwill use this hook when you get that sort out but great hook and the best part no file edits :) i have notice also it don't work with the hook "(e$30) Post Author Status" it make it show lot html code all over the top so that's another bug that have me not want to use it right now..
SandraS Posted October 14, 2010 Posted October 14, 2010 I was hoping to use it but when I did it showed members log-in names and not their display names so I disabled it and they reverted back to how they're suppose to be. I'm guessing this is a bug?
Adriano Faria Posted October 14, 2010 Posted October 14, 2010 Great hook! In forum view, you are using login name instead of display name. For those who wants to fix, open XML hook file and find: $dname = IPSLib::makeNameFormatted($member['name'], $member['member_group_id']); Change to: $dname = IPSLib::makeNameFormatted($member['members_display_name'], $member['member_group_id']); Find: $dname2 = IPSLib::makeNameFormatted($member2['name'], $member2['member_group_id']); Change to: $dname2 = IPSLib::makeNameFormatted($member2['members_display_name'], $member2['member_group_id']); Reinstall!
JahLion Posted October 14, 2010 Posted October 14, 2010 I've have found the culprit for the issuse with the " Photo" width='50' height='50' class='photo' />" it's because i'm using a "Image Background In Usernames" for the profile names so after taking that out and just use the color instead it working perfect. I've have run in another little issue on the members profile page the "User Rating have move to the left" don't know why this happen but now they on the left under the member name <_< I've run in another issue when i click to go view forum list amd getting bunch crap on the header like this.. /home/********/public_html/hooks/Col_Forums_815a6743a34b1f1d0ccec814fbed8a7f.php on line 17 Warning: Invalid argument supplied for foreach() in /home/******/public_html/hooks/Col_Forums_815a6743a34b1f1d0ccec814fbed8a7f.php on line 21 Warning: Cannot modify header information - headers already sent by (output started at /home/******/public_html/hooks/Col_Forums_815a6743a34b1f1d0ccec814fbed8a7f.php:17) in /home/*******/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 109 Warning: Cannot modify header information - headers already sent by (output started at /home/*******/public_html/hooks/Col_Forums_815a6743a34b1f1d0ccec814fbed8a7f.php:17) in /home/*******/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 120 Warning: Cannot modify header information - headers already sent by (output started at /home/*******/public_html/hooks/Col_Forums_815a6743a34b1f1d0ccec814fbed8a7f.php:17) in /home/*******/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 129 Warning: Cannot modify header information - headers already sent by (output started at /home/******/public_html/hooks/Col_Forums_815a6743a34b1f1d0ccec814fbed8a7f.php:17) in /home/*******/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 130 Warning: Cannot modify header information - headers already sent by (output started at /home/*******/public_html/hooks/Col_Forums_815a6743a34b1f1d0ccec814fbed8a7f.php:17) in /home/*******/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 134
Adriano Faria Posted October 14, 2010 Posted October 14, 2010 Yeap, came to say this as well: in one of my forums:Warning: Invalid argument supplied for foreach() in /home/sosinvis/public_html/forum/hooks/Col_Forums_aa072c914bb66a9306a390199aec2bc9.php on line 17 Warning: Invalid argument supplied for foreach() in /home/sosinvis/public_html/forum/hooks/Col_Forums_aa072c914bb66a9306a390199aec2bc9.php on line 21 If it helps, this forum as treated like a category; no topics in it.
Adriano Faria Posted October 14, 2010 Posted October 14, 2010 /home/********/public_html/hooks/Col_Forums_815a6743a34b1f1d0ccec814fbed8a7f.php on line 17 Warning: Invalid argument supplied for foreach() in /home/******/public_html/hooks/Col_Forums_815a6743a34b1f1d0ccec814fbed8a7f.php on line 21 If it helps, this forum as treated like a category; no topics in it. For those who wants to fix, open XML hook file and find: $sub_forum_data = $data['sub_forum_data']; Add below: if ( !$topic_data ) { return false; } Reinstall!
Bry5012 Posted October 14, 2010 Posted October 14, 2010 is this just for v3.1.x and above or will it work on v3.0.5 as well....?
JahLion Posted October 14, 2010 Posted October 14, 2010 For those who wants to fix, open XML hook file and find: $sub_forum_data = $data['sub_forum_data']; Add below: if ( !$topic_data ) { return false; } Reinstall! thanks very much Adriano :thumbsup:
JahLion Posted October 14, 2010 Posted October 14, 2010 I've have run in another little issue on the members profile page the "User Rating have move to the left" don't know why this happen but now they on the left under the member name :whistle:
Adriano Faria Posted October 14, 2010 Posted October 14, 2010 No problem on default skin... must be something in your skin.
JahLion Posted October 14, 2010 Posted October 14, 2010 No problem on default skin... must be something in your skin. It only happen when this hook is install when i remove the hook it go back to right that's what so weird so i know it have something to do with his hook,but he is not online to address the issue at hand..and you have address2 issues with his hook and finda fix so i thank you for helping...
Massive Dynamics Posted October 14, 2010 Author Posted October 14, 2010 It only happen when this hook is install when i remove the hook it go back to right that's what so weird so i know it have something to do with his hook,but he is not online to address the issue at hand..and you have address2 issues with his hook and finda fix so i thank you for helping... Make sure all HTML tags in the usergroup format are closed, that is enough to break formatting. Thanks everybody for reporting the bugs, I'll have them fixed in about an hour. EDIT: Bry, I have no idea. This was made on IPB 3.1.2, so have a go. If it doesn't work, you can just remove it :P
JahLion Posted October 14, 2010 Posted October 14, 2010 Make sure all HTML tags in the usergroup format are closed, that is enough to break formatting. Don't understand what you speaking about <_<
Massive Dynamics Posted October 14, 2010 Author Posted October 14, 2010 Don't understand what you speaking about <_< Could you post that usergroup's prefix and suffix on here, please? If there's no issue there, I'll go back through profile view to make sure I have everything <_<
JahLion Posted October 14, 2010 Posted October 14, 2010 Could you post that usergroup's prefix and suffix on here, please? If there's no issue there, I'll go back through profile view to make sure I have everything <_< <span style='color:blue'><strong> </strong>
Massive Dynamics Posted October 14, 2010 Author Posted October 14, 2010 I see. It's breaking because the tags in the prefix aren't all being closed in the suffix. Try this for the suffix: </strong></span>
Massive Dynamics Posted October 14, 2010 Author Posted October 14, 2010 This has been updated to fix all the bugs listed here except one, which I need to research more. Thanks for being nice :)
JahLion Posted October 14, 2010 Posted October 14, 2010 I see. It's breaking because the tags in the prefix aren't all being closed in the suffix. Try this for the suffix: </strong></span> thank you that fix the issue
SandraS Posted October 14, 2010 Posted October 14, 2010 Thank you for the fix. It's working fine now :)
JahLion Posted October 14, 2010 Posted October 14, 2010 I find another bug when you click on a forum to view the topics where say "0 members, 1 guests, 0 anonymous users" now you don't see the count all you see is the names i've have remove the hook and it working fine but when i put back the hook it go like this "members, guests, anonymous users" even though members is browsing the forums... check this link and you see what i mean at bottom where members browsing http://www.mediagalaxyzone.com/forum/13-lyrics-%C2%BB/
Massive Dynamics Posted October 14, 2010 Author Posted October 14, 2010 Thanks for telling me, I'll see what I can do EDIT: Fixed. It was due to lack of caffeine at 11pm :P (AKA stupidly simple)
JahLion Posted October 14, 2010 Posted October 14, 2010 Thanks for telling me, I'll see what I can do [img] [/img] EDIT: Fixed. It was due to lack of caffeine at 11pm :P (AKA stupidly simple) ok thanks :D good night
Recommended Posts
Archived
This topic is now archived and is closed to further replies.