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)

msimplay 05-20-2004 04:35 PM

Quote:

Originally Posted by dstruct2k
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. :)

i'm using vb3.00
i can't find [musername] in profile.php

please release the instructions to add this hack to the private messages as my pms look weird

dstruct2k 05-24-2004 04:37 AM

Well, I assumed it would be like the other pages. I guess it's not.

Give me a minute to find what needs changing.

dstruct2k 05-24-2004 04:38 AM

Quote:

Originally Posted by Zachery
<poke> anwser me :P

Sorry. :p

I never used post caching, so if I turned it on, I wouldn't find out anyway. :p

the Sandman 05-29-2004 10:21 PM

I'm getting:
Quote:

Warning: main(uttstore/action.changetitle_bbcode.php): failed to open stream: No such file or directory in /home/painfor/public_html/forums/ushop.php on line 247

Fatal error: main(): Failed opening required 'uttstore/action.changetitle_bbcode.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/painfor/public_html/forums/ushop.php on line 247
Where did I mess up? :(

the Sandman 05-29-2004 10:31 PM

OK - found it. I had to rename action[1].changetitle_bbcode.php to action.changetitle_bbcode.php. I'm not sure why it downloads like that though...

dstruct2k 05-31-2004 04:02 PM

It doesn't in IE6...

Wait, yes it does... wierd...

dstruct2k 05-31-2004 04:12 PM

Quote:

Originally Posted by msimplay
i'm using vb3.00
i can't find [musername] in profile.php

please release the instructions to add this hack to the private messages as my pms look weird

I must've been asleep when I coded that.


You're wanting to edit PRIVATE.php, not profile...

Find:
PHP Code:

    // parse the message
    
$pm['message'] = parse_pm_bbcode($pm['message'], $pm['allowsmilie']); 

After add:
PHP Code:

        if ($pm['titleparse'])
        {
            require_once(
'./includes/functions_bbcodeparse.php');
            
$pm['usertitle'] = parse_bbcode($pm['usertitle']);
        } 


msimplay 05-31-2004 05:14 PM

Quote:

Originally Posted by dstruct2k
I must've been asleep when I coded that.


You're wanting to edit PRIVATE.php, not profile...

Find:
PHP Code:

    // parse the message
     
$pm['message'] = parse_pm_bbcode($pm['message'], $pm['allowsmilie']); 

After add:
PHP Code:

        if ($bbuserinfo['titleparse'])
         {
             require_once(
'./includes/functions_bbcodeparse.php');
             
$bbuserinfo['usertitle'] = parse_bbcode($bbuserinfo['usertitle']);
         } 


don't know if the attachment hack is affecting it but that doesnt work for me :(

dstruct2k 06-02-2004 04:16 AM

Oh... my... god...

I need caffene. Badly.

I've edited my last post. :)

msimplay 06-02-2004 03:30 PM

Quote:

Originally Posted by dstruct2k
Oh... my... god...

I need caffene. Badly.

I've edited my last post. :)

thank you very much been waiting for it quite a while now but am really happy its done :D


All times are GMT. The time now is 12:20 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.02225 seconds
  • Memory Usage 1,748KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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