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
  #52  
Old 07-07-2004, 10:23 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sandman: use this

PHP Code:
ALTER TABLE `user`
  
DROP `titleparse`; 
Alternately, go into phpmyadmin, go to the user table, check off the field 'titleparse' and click on the little garbage can icon at the bottom. (be sure NOT to hit drop at the top)
Reply With Quote
  #53  
Old 07-07-2004, 11:18 PM
the Sandman's Avatar
the Sandman the Sandman is offline
 
Join Date: Aug 2003
Location: Tampa, FL
Posts: 229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks man - that's what I was looking for!
Reply With Quote
  #54  
Old 08-02-2004, 03:39 AM
EVJ7665 EVJ7665 is offline
 
Join Date: Feb 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to see a version of this hack that isn't in ushop. We used to have bbcode allowed in titles on our vb2 trying to get it working again on vb3.
Reply With Quote
  #55  
Old 08-02-2004, 07:52 AM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
This is now a part of uCash & uShop 0.95, only not. It allows BBCode and Smilies, needs no file edits, works with post caching, etc, works everywhere custom titles are shown, and doesn't need it's own action file - it just uses the standard Change Custom Title and Change Other User's Custom Title action files, controlled by an action specific variable.
i upgraded to version 0.95 and now the custom user titles don't parse the bbcode what did i do wrong

i also ran the query

Quote:
Originally Posted by Reeve of shinra
Sandman: use this

PHP Code:
  ALTER TABLE `user`
    
DROP `titleparse`; 
Alternately, go into phpmyadmin, go to the user table, check off the field 'titleparse' and click on the little garbage can icon at the bottom. (be sure NOT to hit drop at the top)
Reply With Quote
  #56  
Old 08-12-2004, 01:14 PM
shadesvn shadesvn is offline
 
Join Date: Dec 2003
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, Im new to this mod, i need a Fresh installation so pls show me how to install this mod !

THanks mates !
Reply With Quote
  #57  
Old 08-13-2004, 10:57 PM
jsnakej13 jsnakej13 is offline
 
Join Date: Jul 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod is now included in UShop. So Shadesvn you wasted time uploading this.
Reply With Quote
  #58  
Old 10-07-2004, 04:39 PM
Tigga's Avatar
Tigga Tigga is offline
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,061
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dstruct2k
IF ANYONE KNOWS HOW TO MAKE CACHED POSTS AND THIS HACK WORK TOGETHER, PLEASE LET ME KNOW SO I CAN RELEASE A VERSION 3
$parsed_postcache['skip'] = true;
$post['usertitle'] = parse_bbcode2($post['usertitle'], 0, 0, 0, 1);
$parsed_postcache['skip'] = false;


(You can also enable/disable smilies, images, HTML, and etc with the parse_bbcode2() function instead of the parse_bbcode() function. )
Reply With Quote
  #59  
Old 10-07-2004, 04:49 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tigga
$parsed_postcache['skip'] = true;
$post['usertitle'] = parse_bbcode2($post['usertitle'], 0, 0, 0, 1);
$parsed_postcache['skip'] = false;


(You can also enable/disable smilies, images, HTML, and etc with the parse_bbcode2() function instead of the parse_bbcode() function. )
Its a default feature in .95 now
Reply With Quote
  #60  
Old 10-07-2004, 04:57 PM
Tigga's Avatar
Tigga Tigga is offline
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,061
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup, noticed that... This method is parsing the title after it's inserted into the database, while uShop is parsing the title before it's inserted into the database, which could create a problem if you still wanted to allow some users to use HTML. I was working on this for a client and noticed the post caching problem, came here to search real quick and see if anyone had posted about it (and found this post obviously), and decided to post the fix after I figured it out incase it would help anyone else.
Reply With Quote
  #61  
Old 01-27-2005, 12:38 AM
Wifey Wifey is offline
 
Join Date: Mar 2004
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just wanted to tell you dstruct2k that you're awesome! Thanks for such wonderful support - my questions were answered before I even finished reading the thread.

Two thumbs way up!
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 05:47 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.05023 seconds
  • Memory Usage 2,309KB
  • 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_php
  • (4)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