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
  #22  
Old 04-30-2004, 07:11 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msimplay
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 :$
I personally would rather have the history unparsed, so that you can see exactly what code the user used. I could code an option into the php though, version 3 soon I guess.

As for that "stats" page, it's part of the v3arcade... I really don't want to code hacks for hacks that integrate with other hacks, if you know what I mean. (Otherwise you'd be asking for code for every hack that shows the usertitle. ) I'll post a quick fix in a sec though, as I too have the arcade installed, and I modded it about 10 minutes ago.
Reply With Quote
  #23  
Old 04-30-2004, 07:21 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Arcade integration
(Editing arcade.php)

Find:
Code:
$navbits[""] = "Arcade Statistics";
Add under:
Code:
	{
		require_once('./includes/functions_bbcodeparse.php');
		$user['usertitle'] = parse_bbcode($user['usertitle']);
	}
Find:
Code:
// if this is the user's first visit to the arcade
Add above:
Code:
		if ($bbuserinfo['titleparse'])
		{
			require_once('./includes/functions_bbcodeparse.php');
			$bbuserinfo['usertitle'] = parse_bbcode($bbuserinfo['usertitle']);
		}
Reply With Quote
  #24  
Old 04-30-2004, 09:39 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 personally would rather have the history unparsed, so that you can see exactly what code the user used. I could code an option into the php though, version 3 soon I guess.

As for that "stats" page, it's part of the v3arcade... I really don't want to code hacks for hacks that integrate with other hacks, if you know what I mean. (Otherwise you'd be asking for code for every hack that shows the usertitle. ) I'll post a quick fix in a sec though, as I too have the arcade installed, and I modded it about 10 minutes ago.
yeh i was actually hoping to post in this forum for every hack that i may encounter in the future

ps thank you very much for the arcade intergration
Reply With Quote
  #25  
Old 05-06-2004, 12:06 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 Giveit2u43
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..
that is very weird actually i don't have that problem with cached posts turned on
Reply With Quote
  #26  
Old 05-08-2004, 02:01 PM
weaver weaver is offline
 
Join Date: Mar 2004
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me installs
Reply With Quote
  #27  
Old 05-09-2004, 02:38 AM
weaver weaver is offline
 
Join Date: Mar 2004
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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..
How do you turn cached posts off?
Reply With Quote
  #28  
Old 05-09-2004, 08:39 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

um i need this modification for private messages now


to snobbymom its under *Server Settings and Optimization Options* in admin cp options
and then set *Cached Posts Lifespan* to 0 days
Reply With Quote
  #29  
Old 05-16-2004, 08:58 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesnt work at all with post chacing turned on? or it just doesnt update the old posts?

If it just doesnt update the old posts, then its a matter of just clearing the post chache and renalbing it.
Reply With Quote
  #30  
Old 05-20-2004, 01:45 AM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Short instructions for profile.php because I'm busy right now:

Find a line with [musername]
add this a few lines above...
Code:
	{
		require_once('./includes/functions_bbcodeparse.php');
		$user['usertitle'] = parse_bbcode($user['usertitle']);
	}
I'll post full instructions later, right now I'm coding vbEvents.
Reply With Quote
  #31  
Old 05-20-2004, 03:41 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<poke> anwser me :P
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 10:54 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.04927 seconds
  • Memory Usage 2,311KB
  • 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_code
  • (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
  • (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