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

Reply
 
Thread Tools
[uShop] BBcode and Smilies in Custom Usertitle Details »»
[uShop] BBcode and Smilies in Custom Usertitle
Version: 1.00, by dstruct2k dstruct2k is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-25-2004 Last Update: Never Installs: 12
 
No support by the author.

Version 2
WHAT THIS HACK DOES:
Allows your members to buy the ability to use bbcode and smilies in their custom user title. Requires uShop.


PLEASE NOTE THAT THIS DOES NOT WORK WITH CACHED POSTS TURNED ON
IF ANYONE KNOWS HOW TO MAKE CACHED POSTS AND THIS HACK WORK TOGETHER, PLEASE LET ME KNOW SO I CAN RELEASE A VERSION 3

Instructions:
Moved to instructions.txt

NOTE:
If you are upgrading from version 1, you have already made the first edit (showthread.php) and run the query.

This version adds support to 5 other files.

Show Your Support

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

Comments
  #12  
Old 04-26-2004, 06:30 PM
JaNa's Avatar
JaNa JaNa is offline
 
Join Date: Apr 2004
Location: U.S, Maryland
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's working great! Thanks.

Just one question: How do you change the length of text you can put in the Custom Title :nervous:
Reply With Quote
  #13  
Old 04-26-2004, 10:09 PM
Giveit2u43 Giveit2u43 is offline
 
Join Date: Jun 2003
Location: Liverpool
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NuclioN
hm...yes it works but....the usertitle is replacing topic and reply's (???????)

My usertitle is 'matrixsurfer' and when i make a reply somewhere the whole reply is replaced with 'matrixsurfer'
Do you have cached posts switched on? if so that`s the problem. as the parse_bbcode tag takes the parsed bbcode and uses it as the cached posttext..
Reply With Quote
  #14  
Old 04-26-2004, 10:14 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JaNa
It's working great! Thanks.

Just one question: How do you change the length of text you can put in the Custom Title :nervous:
vBulletin Options -> User Profile Options -> User Title Maximum Characters (default 25)
Reply With Quote
  #15  
Old 04-26-2004, 11:00 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

psst release it at geeky designs too
Reply With Quote
  #16  
Old 04-26-2004, 11:49 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font size="4">VERSION 2 RELEASED!</font>

First post updated.
Reply With Quote
  #17  
Old 04-27-2004, 03:34 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i need something that stops user from using bbcode in user title when using the standard change user title
in the shop

and something that changes bbcode user titles for other users
and stops them when using the standard one

these are suggestions just to round the hack off

also the bbcode does not parse in the ustore history
Reply With Quote
  #18  
Old 04-27-2004, 05:52 PM
JaNa's Avatar
JaNa JaNa is offline
 
Join Date: Apr 2004
Location: U.S, Maryland
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dstruct2k
VERSION 2 RELEASED!

First post updated.
[high]* JaNa Thumbs Up :up:[/high]
Reply With Quote
  #19  
Old 04-28-2004, 11:15 AM
PranK PranK is offline
 
Join Date: Apr 2003
Location: Sydney, Aus
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would I do this so that only BB codes will work, not the smilies?

Christian
Reply With Quote
  #20  
Old 04-29-2004, 02:25 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PranK
How would I do this so that only BB codes will work, not the smilies?

Christian
I'm honestly not sure, as I just tap into the "bbcode_parse()" function, which by default includes smilies.
Reply With Quote
  #21  
Old 04-29-2004, 02:57 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dstruct2k
I'm honestly not sure, as I just tap into the "bbcode_parse()" function, which by default includes smilies.
i solved my previos problem with my earlier request
it seems that only admins may bypass the custom bbcode in user titles using the normal custom user title store item because they have html enabled for user titles good job am the only admin

ps could u make the same hack to include changing other users names aswell
please

to the store history

and if possible to the v3 stats page :$
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 11:35 PM.


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.07782 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
  • (5)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
  • (3)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