vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Usernames color (https://vborg.vbsupport.ru/showthread.php?t=148653)

vegeta_99 05-31-2007 10:00 PM

Usernames color
 
Usernames color


Description

This hack display usernames with color everywhere on your forum. Now, usernames appear with color in your forums (forumdisplay), on your index (in last reply column), etc


Informations



Hack Version: 1.1
vBulletin version: vBulletin 3.6



Installation

Product

Import the product "product-color_pseudos.xml". (Plugins & Products >> Manage Products >> [Add/Import Product])

File Edits

In the file "functions_forumlist.php" in the folder "includes", Find:

Code:

eval('$forum[\'lastpostinfo\'] = "' . fetch_template('forumhome_lastpostby') . '";');
Add above:

Code:

($hook = vBulletinHook::fetch_hook('colorname')) ? eval($hook) : false;



Upload:


Upload the file "hooks_colorname" in your forlder ./includes/xml



Evolutions and improvements

Don't hesitate to share your ideas of improvements for this hack.

PS: Thanks Sofia for traduction :up:

EnIgMa1234 06-01-2007 10:45 AM

sorry i dont get what this does. does it allow users to choose their own color?

Sofia 06-01-2007 10:46 AM

Quote:

Originally Posted by EnIgMa1234 (Post 1258955)
sorry i dont get what this does. does it allow users to choose their own color?

No this hack display usernames with color everywhere on your forum. Now, usernames appear with color in your forums (forumdisplay), on your index (in last reply column), etc

EnIgMa1234 06-01-2007 10:47 AM

so its like posting $post[musername] everywhere?

harmor19 06-01-2007 10:48 AM

Take out the file edit.
Make a new plugin to "forumhome_complete" and add your own hook location in the 'code' box.

vegeta_99 06-01-2007 11:00 AM

the file who generate forum and foruminfo on forumhome is function_forumlist.php and not index.php .
The hook "forumhome_complete" can't use consequetly

Mecho 06-01-2007 12:26 PM

Thanks ... works fine :)

Installed

SLY LS1 06-01-2007 01:24 PM

I installed it, but i though the usernames were already coloured ?

------------------------------------------------------------------------------------

Another idea would be a mod where you can set a colour for each user group

I had it on my old forum

Sofia 06-01-2007 01:27 PM

Quote:

Originally Posted by SLY LS1 (Post 1259050)
I installed it, but i though the usernames were already coloured ?

------------------------------------------------------------------------------------

Another idea would be a mod where you can set a colour for each user group

I had it on my old forum

Can set a color for each usergroup? a sort of legend on your index?

Vizionz 06-01-2007 02:28 PM

Quote:

Originally Posted by SLY LS1 (Post 1259050)
I installed it, but i though the usernames were already coloured ?

------------------------------------------------------------------------------------

Another idea would be a mod where you can set a colour for each user group

I had it on my old forum

you can already do that through usergroups ? then just set up a member legend and your done.

Mecho 06-01-2007 02:34 PM

oops - now i noticed that Subforums doesnt shows up in some of the sections . i removed that code from functions_forumlist.php and now everything is ok ...

any idea ?

Thanks in advance

Snake 06-01-2007 03:43 PM

Thanks for the release. I've been waiting for this.

Snake 06-01-2007 03:58 PM

Alright, now this is weird. Whenever the plugin is enabled, the sub-forums on the forum's homepage are gone completely but whenever I disable the hack, it works just fine. Any idea?

kristin87 06-01-2007 03:59 PM

Can't you achieve this by changing the colors in the HTML markup?

VBDev 06-01-2007 04:08 PM

Quote:

Originally Posted by Mecho (Post 1259122)
oops - now i noticed that Subforums doesnt shows up in some of the sections . i removed that code from functions_forumlist.php and now everything is ok ...

any idea ?

Thanks in advance

Quote:

Originally Posted by Snake (Post 1259170)
Thanks for the release. I've been waiting for this.

Quote:

Originally Posted by kristin87 (Post 1259179)
Can't you achieve this by changing the colors in the HTML markup?

The forum where there are problems have specific parameters compared to the others ?

unforsaken 06-01-2007 04:10 PM

yes you can...just set your usergroup Username HTML markup with an html color command (span style or font color) and you can accomplish this same feature on every section of your board...of course for those who aren't familiar with the html commands this could be a useful mod

BBF 06-01-2007 05:12 PM

it's don't work on vb 3.6.7 pl1

Snake 06-01-2007 05:31 PM

I think BBF's right. Well at least, it doesn't work fine to me.

vegeta_99 06-01-2007 06:02 PM

I am going to provide an update soon

StrifeX 06-01-2007 11:17 PM

Quote:

Originally Posted by unforsaken (Post 1259189)
yes you can...just set your usergroup Username HTML markup with an html color command (span style or font color) and you can accomplish this same feature on every section of your board...of course for those who aren't familiar with the html commands this could be a useful mod

This makes it show up on FORUMLIST, there is no previous option for that.

Oh and also, this executes 60 queries on forumhome. You might want to do something about it...

yaoren 06-02-2007 01:36 AM

I had down loaded this hack earlier and was just uploading it when I discovered it wasn't working for me. Then I noticed others are having the same issues so I assume it's being worked on? Anyhow will wait patiently since I've been looking for this hack...ty ty :-)

Snake 06-02-2007 11:49 AM

Quote:

Originally Posted by vegeta_99 (Post 1259268)
I am going to provide an update soon

Please do so. I'm looking forward to it.

PinkDaisy 06-02-2007 07:53 PM

it does bring color to the forum home listing, but puts some weird coding when you go into the forums and see the list of topics if that makes sense.. UNINSTALLED for right now.

ACIKillJoy 06-04-2007 05:44 AM

This worked perfect on my board running 3.6.7 pl1 no problems at all.
One thing i see that has been missed is if i do a "new posts since last visit" or "Unread Posts" search this mod does not show up. Not sure if it was intended or not but might be something to consider looking into for the next version

ACIKillJoy 06-04-2007 07:10 PM

After looking at my board this does indeed make some of the subforums not appear on the main forums index. this does not affect all of them only some. had to disable this mod till the issue is found and a fix is given

dbirosel 06-06-2007 12:54 AM

Wow, i been looking for this mod forever. Thank you for releasing it. I will install when you provide a stable version for 3.6.7

wickedstangs 06-06-2007 03:17 AM

I tried to upload this hack and nothing happened no color change I am pretty sure I installed it correctly. Any idea what I could have done wrong or forgot.
VB version 3.6.7PL

Magnumutz 06-07-2007 05:03 PM

Can't see the sub-forums on my forumhome.
Any suggestions?

cOuNtErFiET 06-08-2007 10:04 PM

took ty requested this like a yr ago for my 3.5.x board tyvm

powerful_rogue 06-26-2007 11:54 PM

Any idea when an update will be available for this mod?

PDM 07-02-2007 08:21 PM

not color forumhome ????

cOuNtErFiET 07-03-2007 12:57 AM

holy cowzers this added 120+ queries to my forumhome.... :((

Magnumutz 07-03-2007 03:29 PM

SAY WHAT?!?!
Omg, and i didn't even checked to see that...
It disables LOTS of plug-ins too.

momo2 07-20-2007 09:58 PM

Glad I read all the complaints, why not remove this thread till u fix all these problems...
Sometimes we do not read all replies, here...

adc-arab 07-21-2007 03:13 AM

i Can't see the sub-forums but after i removed
Code:

eval('$forum[\'lastpostinfo\'] = "' . fetch_template('forumhome_lastpostby') . '";');
from functions_forumlist.php
every thing worked fine but the username color doesn't show in the last reply after i removed the code ;( help plz

adc-arab 07-30-2007 11:07 AM

how come this mod is supported and no one answered to my problem and this is not my problem only others have the same problem

Ethelbert 09-16-2007 03:03 PM

I recommend to uninstall this mod. It doesn't work properly

mystic10 11-28-2007 11:57 PM

sir after i upload ur hack i am getting this fatal error..i am not able to open new tread, edit thread or post reply this is the error i am getting
Warning: require_once(/home/yahoocit/public_html/includes/ame_bbcode.php) [function.require-once]: failed to open stream: No such file or directory in /newreply.php(705) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/home/yahoocit/public_html/includes/ame_bbcode.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/yahoocit/public_html/newreply.php(705) : eval()'d code on line 1
please please please help

MentaL 01-09-2008 10:42 AM

Can anyone fix this please?

kotlt99 03-10-2008 04:20 PM

No update ? No support ?


All times are GMT. The time now is 05:34 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01380 seconds
  • Memory Usage 1,808KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete