vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Usergroups Usernames in Forumdisplay Highlighting (https://vborg.vbsupport.ru/showthread.php?t=171623)

Hasann 02-27-2008 10:00 PM

Usergroups Usernames in Forumdisplay Highlighting
 
Username HTML Markup in FORUMHOME + FORUMDISPLAY + SUBFORUMS by Hasann

This Product brought to you by
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

PHP Code:

$lastpostinfo = (empty($lastpostarray[$forumid]) ? array() : $vbulletin->forumcache["$lastpostarray[$forumid]"]); 

than add below this code

PHP 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

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

Quote:

Originally Posted by 7lanet (Post 1452676)
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

Quote:

Originally Posted by Mrquarter (Post 1452858)
Yes, a better description is needed.

Usergroups colour highlighting in forumdisplay threadstarter


All times are GMT. The time now is 06:03 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.01072 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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