Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: 1.00, by JJR512 JJR512 is offline
Developer Last Online: Jun 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-10-2002 Last Update: Never Installs: 13
 
No support by the author.

This is a small hack that I wrote several months ago. Originally it was only a template mod, then turned into a hack but remained in the template mods forum at vbulletin.com, so it never made it over here.

Basically, all it does is show both a custom title, selected by the user, and the user's standard title (Junior Member, Member, Moderator, etc.) in posts. It uses a custom profile field that you create through the admin cp to store the custom title.

As I said, it's an older hack by me, and was originally tested on 2.0.3. It still works for me on 2.2.2, though.

Show Your Support

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

Comments
  #32  
Old 02-16-2002, 10:25 PM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Give me the text you would input to do that.
Reply With Quote
  #33  
Old 02-16-2002, 10:56 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<table style="filter:glow(color=white)"><font color=red>&nbsp;She Devil&nbsp;</font></table>
Reply With Quote
  #34  
Old 02-16-2002, 11:03 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh, btw, it's the same if you _do_ add the TR and TD tags.
Reply With Quote
  #35  
Old 02-16-2002, 11:10 PM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by freddie
Jakeman : it has nothing to do with the fields, as we said before it is much more powerful than that.
more powerful than fields... POWER FIELDS!

sigh... *me dies*
Reply With Quote
  #36  
Old 02-16-2002, 11:55 PM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by KuraFire
Code:
<table style="filter:glow(color=white)"><font color=red>&nbsp;She Devil&nbsp;</font></table>
I still fail to see the problem as when that is saved it is sent through htmlspecialchars(), which btw makes it useless for you as it will not display as HTML when it is called in the postbit template. When edited, the underlying html appears as:

<input type="text" class="bginput" name="field1" value="&lt;table style=&quot;filter:glow(color=white)&quot;&gt;&lt;font color=red&gt; She Devil &lt;/font&gt;&lt;/table&gt;" size="25" maxlength="250">
Reply With Quote
  #37  
Old 02-17-2002, 09:53 AM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by freddie
I still fail to see the problem as when that is saved it is sent through htmlspecialchars(), which btw makes it useless for you as it will not display as HTML when it is called in the postbit template. When edited, the underlying html appears as:

<input type="text" class="bginput" name="field1" value="&lt;table style=&quot;filter:glow(color=white)&quot;&gt;&lt;font color=red&gt; She Devil &lt;/font&gt;&lt;/table&gt;" size="25" maxlength="250">
Exactly: we can't save it through htmlspecialchars() because it won't appear as HTML on threadpages, but an Administrator can enter that in their field and then it will work! But when you then try to look at the Edit Profile page, it gets messed up (due to the " in there).

I'll try and make a screenshot of it today, when I have the chance.
Reply With Quote
  #38  
Old 02-19-2002, 12:48 AM
Tech_Koss's Avatar
Tech_Koss Tech_Koss is offline
 
Join Date: Jan 2002
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i set custom title to "no" but now my members custom title are still there ...im using 2.2.2 if that help
can anyone help?
Reply With Quote
  #39  
Old 02-19-2002, 07:43 AM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you've set the option "Use custom titles?" to NO after a few of them have given themselves a custom title, you'll have to reset those manually. I haven't seen any way to do this automatically...
Reply With Quote
  #40  
Old 02-19-2002, 05:24 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the admin cp, in the section on the left called "Import and Maintenance", there is a link to "Update Counters". Go there, and the very first thing you'll see you can do is "Update User's Titles". Try that.
Reply With Quote
  #41  
Old 02-21-2002, 07:00 PM
Scrooge Scrooge is offline
 
Join Date: Nov 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is very close to what I am looking for on my board. In my case, I am trying to give contributors this option but not other users. Is there any way to make this available only to certain groups?
Reply With Quote
Reply


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:14 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.10757 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
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_code
  • (3)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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