vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [uShop] BBcode and Smilies in Custom Usertitle (https://vborg.vbsupport.ru/showthread.php?t=64394)

Reeve of shinra 07-07-2004 10:23 PM

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)

the Sandman 07-07-2004 11:18 PM

Thanks man - that's what I was looking for!

EVJ7665 08-02-2004 03:39 AM

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.

msimplay 08-02-2004 07:52 AM

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)


shadesvn 08-12-2004 01:14 PM

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

THanks mates !

jsnakej13 08-13-2004 10:57 PM

This mod is now included in UShop. So Shadesvn you wasted time uploading this.

Tigga 10-07-2004 04:39 PM

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. ;))

Zachery 10-07-2004 04:49 PM

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 ;)

Tigga 10-07-2004 04:57 PM

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. ;)

Wifey 01-27-2005 12:38 AM

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!


All times are GMT. The time now is 01:36 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.01245 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete