vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   What Styles are we All using (https://vborg.vbsupport.ru/showthread.php?t=23206)

ryanhulce 04-04-2003 11:16 PM

Reason it doesn't work in the latest vB is because it returns NULL as the StyleID which reverts to 0. When looking at the styles table it starts out at 1 not zero so what i did was add another style (not user selectable) and edit the table directly and change the ID number to 0. Now it works. I just called the style Default.

This could be a side effect of running VBPortal with VBulletin. I think VBulleting's Default of 0 is the standard VB Style but 1 is VBPortal's Default..

Leah 04-05-2003 09:18 PM

[QUOTE]03-25-03 at 11:52 PM -Sidekick- said this in Post #119
any fix to the thing where clicking on the link doesn't update the style shown in your postbit?

Airs 04-14-2003 01:52 AM

Quote:

04-05-03 at 02:10 AM ryanhulce said this in Post #121
Reason it doesn't work in the latest vB is because it returns NULL as the StyleID which reverts to 0. When looking at the styles table it starts out at 1 not zero so what i did was add another style (not user selectable) and edit the table directly and change the ID number to 0. Now it works. I just called the style Default.

This could be a side effect of running VBPortal with VBulletin. I think VBulleting's Default of 0 is the standard VB Style but 1 is VBPortal's Default..


how exactly do u do that? please help!.

RiP-Productions 06-20-2003 09:32 AM

Installed the hack on version 2.2.7 and I don't get any errors except that for some users the Style is not visible.

I used the latest version of the hack (the 1 where you had to replace / add 2 the same code.)

After you update the user (wich didn't show up in the threads) with the style (just hit save in Admin CP) the style is visible :surprised:

See the 2 screenshots below.

http://www.rip-productions.com/signa...tyleserror.jpg

http://www.rip-productions.com/signa...yleserror1.jpg

Oblivion Knight 08-13-2003 07:35 AM

Quote:

04-03-03 at 10:36 AM AlexanderT said this in Post #120
Hack worked fine UNTIL vB2.3.0 Final.

Now, in 2.3.0 final, when user selects "Use Default Style" in his UserCP, the postbit part doesn't display any style name.

^ Bump :nervous:

Michael 09-05-2003 11:32 PM

Could that be the same thing that is happening to me? Because there is no style showing up, look at my board: www.charmed-phoebe.com/forums

Michael 09-05-2003 11:56 PM

Nevermind got it to work!!! :D

Oblivion Knight 09-06-2003 02:20 PM

Quote:

Today at 01:56 AM Michael said this in Post #127
Nevermind got it to work!!! :D
Would you be so kind as to tell us how?
No matter how hard I try, anyone selecting "Use forum default" appears blank.

Michael 09-06-2003 04:26 PM

To tell you, I have no idea what I did lol -- I just added the code or replaced it the two times it was in the template.

obsidian 12-30-2003 02:40 AM

Just because I hate finding old hacks and not knowing if they work.... I just installed this on a VBPortal/ VB 2.3.0 site. I used the instructions posted here:

https://vborg.vbsupport.ru/showpost....&postcount=118

The only exception was that for the last part that gets inserted into the template I ended up using:

Code:

<smallfont>Theme: <a href='showthread.php?styleid=$post[styleid]&postid=$post[postid]&s=$session[sessionhash]#post$post[postid]'>$post[styletitle]</a><br>
This was because when I used the code originally listed it would dump me to a blank page. Other than that it installed in about 5 min. Great addon.

Red Blaze 01-14-2004 09:04 PM

Works well for 2.3.2. :)

[high]* Red Blaze installs[/high]

Edison Chen 11-19-2004 12:23 PM

Installed. Didn't work the first time but looked at the second page and it worked now. Beautiful.

who knows 06-16-2005 11:03 AM

Quote:

Originally Posted by Sadie Frost
Make sure you've made the changes to showthread.php twice - the same code appears twice in that file. So you're really making 4 changes to it, not 2 :) That's what I did wrong at first.


That really helped :). I didn't realize there was two places of the same code, lol. So i was puzzled why it wasn't working. Thanks!

ProperMethodz 10-18-2005 05:43 AM

I am looking for this hack for 3.5. I have searched this site for:

postbit
showthread
Style Postbit
and a few others I can't quite remember.

Please... I've been looking and searching for weeks.

Lexina 01-29-2006 07:15 AM

Quote:

Originally Posted by Brianna
owheeee!! nice hack, but watch your case in PHP :)

that's probably your problem guys

my browser just went beserk ^_^

"as" in the first code should be "AS"
"on" in the second code should be "ON"
and
there should not be parenthesis around "user.styleid = style.styleid"

Well, I changed those three and it was working then, so that's my guess, that they should be this way, but I could be wrong of course

I'm gonna agree with you, worked like a charm after I edited and did as you said, capitlised! Do it if you are just getting the 'Style:' and no link ;)


All times are GMT. The time now is 04:17 AM.

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.01149 seconds
  • Memory Usage 1,756KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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