Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Glowing Usernames in postbit Details »»
Glowing Usernames in postbit
Version: 1.00, by Dataforce Dataforce is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 02-25-2004 Last Update: Never Installs: 28
 
No support by the author.

Adapted from here

**NO SUPPORT GIVEN**
**USE AT YOUR OWN RISK**

=======

This has been tested, and works on VB3 RC4

Works on Internet Explorer based browsers
does NOT work on Mozilla Firefox (at least not for me)

not sure about other browsers.

=======
Enjoy

-DF

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-26-2004, 12:52 PM
Souli Souli is offline
 
Join Date: Dec 2001
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:tired:
in vb3 you do not need to hack the functions_showthread.php

use conditions directly in the templates postbit

eg:
HTML Code:
<if condition="$post['usergroupid'] == 6">
<table style="filter:glow(color=red, strength=6)"><tr><td><font class="bigusername" color="white"><b>$post[username]</b></font></td></tr></table>
<else />
$post[musername]
</if>
and after it create two new custum-userfields and give the users an option to selelct the two colors

eg:
HTML Code:
<if condition="$post['usergroupid'] == 6">
<table style="filter:glow(color=$bbuserinfo['field29'], strength=6)"><tr><td><font class="bigusername" color="$bbuserinfo['field30']"><b>$post[username]</b></font></td></tr></table>
<else />
$post[musername]
</if>
$bbuserinfo['field29'] and $bbuserinfo['field30'] are my fieldnumbers
Reply With Quote
  #3  
Old 02-26-2004, 02:14 PM
Dataforce Dataforce is offline
 
Join Date: May 2003
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

as I said it was adapted from the VB2 version which i had used, so i had just taken it directly from my VB2 board, and changed it to work.

atm I'm just doing quick conversion for my old VB2 hacks to VB3 for my members so i'm pretty much following the origonal VB2 instructions but changing the code for VB3

ye your way is more efficient, but my way works - when i come to upgrade my board again I will convert it to use your method.

I would do it now, but i got some other hacks that i need to finish converting
Reply With Quote
  #4  
Old 02-26-2004, 02:57 PM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you have a screenshot of the glowing?
Reply With Quote
  #5  
Old 02-26-2004, 03:37 PM
Dataforce Dataforce is offline
 
Join Date: May 2003
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attatched Screenshot showing Blue Glow, it shows the same apart from colour for all the other glows.
Reply With Quote
  #6  
Old 02-26-2004, 04:38 PM
rinkrat's Avatar
rinkrat rinkrat is offline
 
Join Date: Jan 2002
Location: Long Beach
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way that I can only have people with a reputation over 50,000 have the glow?
Reply With Quote
  #7  
Old 02-26-2004, 11:25 PM
Sonic625 Sonic625 is offline
 
Join Date: Jun 2002
Location: D/FW Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or perhaps a way to limit it to a certain group?
Thanks,
S
Reply With Quote
  #8  
Old 02-27-2004, 09:45 AM
Dataforce Dataforce is offline
 
Join Date: May 2003
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sonic625 it is limited per group, you choose which groups have what coloured glow.

rinkrat sure, just change teh if statement to check the reputation rather than the usergroupid - I don't ahve reputation enabled on my forum so i dunno what the reputation variable is.
Reply With Quote
  #9  
Old 02-27-2004, 10:01 AM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i take, thank
Reply With Quote
  #10  
Old 02-27-2004, 07:06 PM
Spacey's Avatar
Spacey Spacey is offline
 
Join Date: Feb 2004
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Souli,

Could you post EXACTLY what to do there please!!! im a Hack noob and have no idea where to put those lines of code on my postbit template...

Thank man
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:00 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04657 seconds
  • Memory Usage 2,286KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete