View Full Version : Mini Mods - Usergroups Usernames in Forumdisplay Highlighting
Hasann
02-27-2008, 10:00 PM
Username HTML Markup in FORUMHOME + FORUMDISPLAY + SUBFORUMS by Hasann
This Product brought to you by
www.vbulletin-turkey.com (http://www.vbulletin-turkey.com/)
Description:
This mini Add-On will showing the Usergroups Username HTML Markup in
FORUMHOME
FORUMDISPLAY
SUBFORUMS
Installation:
1. step: upload the hooks_username_html_markup.xml file to your forumroot/includes/xml folder
2. step: find in forumroot/includes/functions_forumlist.php file this code
$lastpostinfo = (empty($lastpostarray[$forumid]) ? array() : $vbulletin->forumcache["$lastpostarray[$forumid]"]);
than add below this code
($hook = vBulletinHook::fetch_hook('forumbit_lastpostby')) ? eval($hook) : false;
Save and reupload.
3. step:
And at least import the product-username_html_markup.xml product file via admincp -> product manager -> import/export products
Tested on:
vBulletin 3.7.x
vBulletin 3.8.x
Demo: www.vbulletin-turkey.com/forum (http://www.vbulletin-turkey.com/forum)
7lanet
02-28-2008, 05:20 AM
thanks
^_^
7lanet
02-28-2008, 05:32 AM
Another problem
Another shows a response is the same as another of a topic
Despite of it is not a subject
Hasann
02-28-2008, 06:37 AM
Another problem
Another shows a response is the same as another of a topic
Despite of it is not a subject
sorry brother updated! :erm:
codershark
02-28-2008, 08:49 AM
What does the Hack do ? I dont see any changes after install....
Mrquarter
02-28-2008, 10:04 AM
What does it do???
katilkuzu
02-28-2008, 10:07 AM
what does it do too?
ne işe yarar bu beyler
NeuroLancer
02-28-2008, 12:24 PM
from reading the xml it looks like it displays the username with the html tags like how you can set it to show admins as red and bold and then in WOL the admin name is like this. I think thats what it does but for forum display... could be wrong tho lol
Edit: Yep! I was right, it makes it look like musername, this is actually a very cool mod, perhaps a better description is needed.
Mrquarter
02-28-2008, 12:34 PM
Yes, a better description is needed.
Hasann
02-28-2008, 03:14 PM
Yes, a better description is needed.
Usergroups colour highlighting in forumdisplay threadstarter
Kaleem
02-28-2008, 06:22 PM
Excellent work nice :)
Just a demo the usernames have htmlmarks up in Forumdisplay http://www.friendskorner.com/forum/f16/
Spermy
02-28-2008, 09:36 PM
How can I use this for new posts and forumhome?
deafluckyirish
02-29-2008, 12:36 AM
How did you add image on html markup?
cajunboy2208
02-29-2008, 01:01 AM
Yes, I would like this to work in the Today's Posts, New Posts, as well as Last Post.
If it is possible.
I would really appriciate it!
Thank you.
Droptop
03-01-2008, 04:43 PM
Works great for 3.6.8 PL 2....**clicks install** Thank you for this. :D
toucan42
04-09-2008, 03:33 PM
Any way to get this working on homepage as well?
Not be lifted file has been found to a local file ? :down:
KURTZ
04-10-2008, 09:45 AM
wow superb Hasann!!! :)
Charlie98902
04-30-2008, 10:20 PM
Installed and a very nice mod indeed. Is there a way to use this mod and make the forum home show the same. Like on forum home is a admin posted last it would show it in red?
fourat
04-30-2008, 10:47 PM
salam alekom
thank my brother jazak allah khayeran
KURTZ
05-14-2008, 09:55 AM
hasann, 'i've found a little glitch ... it doesn't colorize the nick below the Announces ... check the shot attached ... :)
reesev
05-27-2008, 09:08 PM
members cannot access peoples profiles by clicking there names any more
Captain Tycoon
06-16-2008, 12:40 PM
Working Perfectly! Marked as Installed!
term_
06-18-2008, 04:36 PM
Thanks Hasann.
I'm using it on my forum.
War_force
06-18-2008, 07:05 PM
nice work and installed
thanks a lot
GaiLoan
06-19-2008, 02:46 AM
this very nice, thank you
rolfw1
06-20-2008, 07:49 PM
Thanks, nice mod. :)
srkrocks
06-21-2008, 09:43 AM
Installed..Thanks
KURTZ
06-21-2008, 09:47 AM
i forgot this hack ... :) pls Hasann can you fix the 'announce issue'? TIA :)
PS. congrats for the yesterday's game vs. Croatia ... at what time the party was over? :p
dadoc
08-14-2008, 07:01 AM
Another great simple but effective mod thanks Hasann
Fırtına
08-15-2008, 09:20 AM
Installed*
Teşekk?rler hocam.
All installed,,But where do you actually set this up.
apiasto
08-30-2008, 11:36 PM
nice,it will be more fun if it was on forumhome.thnx
M.A.F.
09-18-2008, 10:24 AM
Nice ^^
Installed ... but we need another one for forumhome plz ^^"
TilkiBey
09-20-2008, 11:55 AM
thx,installed
dengbej
09-20-2008, 08:43 PM
nice hack.thanks Hasann
HemoOo Nana
09-21-2008, 09:36 AM
Thanks
rizelim
09-24-2008, 08:22 PM
thanks
crackers
11-24-2008, 12:59 AM
Very bad optimization, this mod generates big load! This mod should go to trash...
nakedzero
11-24-2008, 09:41 AM
Nice hack. Btw, may i have the theme of your forum?
it works fine for 3.7.4 thx ;)
Hasann
11-24-2008, 10:34 PM
Very bad optimization, this mod generates big load! This mod should go to trash...
who are you?
if not working please uninstall it
NikosN
12-03-2008, 12:54 PM
Thank you!
crackers
12-03-2008, 12:55 PM
People should know that installing this mod can cause high load and lay off from shared hosting... You ignored my pm so how can I have enough respect for you...
arauf
12-23-2008, 11:14 AM
Database error in vBulletin 3.8.0 Beta 2:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, replycount, IF(views<=replycount, replycount+1, views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
, hasannuser.displaygroupid AS hasanndisplaygid, hasannuser.usergroupid AS hasannusergid, huseyinuser.displaygroupid AS huseyindisplaygid, huseyinuser.usergroupid AS huseyinusergid
FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN user AS hasannuser ON (thread.lastposter = hasannuser.username)
LEFT JOIN user AS huseyinuser ON (thread.postuserid = huseyinuser.userid)
WHERE thread.threadid IN (0,6853,6583,4837,1441,3393,2797,1219,1459,1112,15 10,1111,1107,856,913,931,948)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Column 'votenum' in field list is ambiguous
Error Number : 1052
Request Date : Tuesday, December 23rd 2008 @ 06:12:43 PM
Error Date : Tuesday, December 23rd 2008 @ 06:12:43 PM
Script : http://xxx/voiceforums/forumdisplay.php?f=9
Referrer : http://xxx/voiceforums/index.php
IP Address : 77.31.9.228
Username : Kareem
Classname : vB_Database
MySQL Version : 5.0.51a-community
Hassann :o
arauf
12-23-2008, 11:17 AM
when i click on my forums Database errors shows up :s
i have removed all files and uninstalled the ( product-username_html_markup.xml )
but No Gain same error :o
can you please tell whats wrong :(
something's wrong with ( functions_forumlist.php )
digicom
12-23-2008, 06:22 PM
Working on 3.7.4 with no problems,apprciated:up:
Hasann
12-23-2008, 07:17 PM
Database error in vBulletin 3.8.0 Beta 2:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, replycount, IF(views<=replycount, replycount+1, views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
, hasannuser.displaygroupid AS hasanndisplaygid, hasannuser.usergroupid AS hasannusergid, huseyinuser.displaygroupid AS huseyindisplaygid, huseyinuser.usergroupid AS huseyinusergid
FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN user AS hasannuser ON (thread.lastposter = hasannuser.username)
LEFT JOIN user AS huseyinuser ON (thread.postuserid = huseyinuser.userid)
WHERE thread.threadid IN (0,6853,6583,4837,1441,3393,2797,1219,1459,1112,15 10,1111,1107,856,913,931,948)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Column 'votenum' in field list is ambiguous
Error Number : 1052
Request Date : Tuesday, December 23rd 2008 @ 06:12:43 PM
Error Date : Tuesday, December 23rd 2008 @ 06:12:43 PM
Script : http://xxx/voiceforums/forumdisplay.php?f=9
Referrer : http://xxx/voiceforums/index.php
IP Address : 77.31.9.228
Username : Kareem
Classname : vB_Database
MySQL Version : 5.0.51a-community
Hassann :o
did you installed this hack ?
https://vborg.vbsupport.ru/showthread.php?t=199568
rjayXD
01-19-2009, 07:40 AM
Reserved
MAD-DOG
02-17-2009, 09:23 PM
is there a way to have it work on vBa CMPS..??
thank you..
Das UndergrounD
03-07-2009, 05:52 PM
I would like to appear colored nicks in the results of the search
TaMpE
03-14-2009, 03:49 AM
I have vBExperience installed and in the statistic list, can this be added too?
oxblood12
03-15-2009, 03:16 AM
thanks jejeje
Stratto
03-19-2009, 10:00 PM
Worked perfectly without problems, thank you ^^
amjadz4
04-06-2009, 04:51 PM
thanks...great mod
starplatinum
04-13-2009, 11:05 PM
Great for readibility thx :)
AkBilge
02-28-2010, 10:11 PM
Works great for 3.6.8 PL 2....**clicks install** Thank you for this.
S?per. Teşekk?rler hasann. Sorunsuz ?alıştı.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.