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)
-   -   Preview Style Hack [vB3] (https://vborg.vbsupport.ru/showthread.php?t=61032)

assassingod 02-01-2004 02:06 PM

Sorry all, I forgot to mention some Phrases to be added.
All who use this hack, add these phrases:
Code:

Type: Control Panel Global
Varname: styledescription
Text: Description

and
Code:

Type: Global
Varname: edit_style
Text: Edit Style

That should be it. Thanks all for the feedback too.

Socrate;
I'm not sure why the code isn't appearing for you - it's there on my version, RC3.

Mist;
Eh?

gmarik;
Could you explain more?

assassingod 02-01-2004 02:24 PM

Just updated the txt file (updated to 1.1), all who download before now re-download.

Allan 02-01-2004 05:16 PM

Quote:

Originally Posted by assassingod
Socrate;
I'm not sure why the code isn't appearing for you - it's there on my version, RC3.

I does not include/understand why this line is not in my version RC3

but it is not serious, I have to adapt assassingod ;)

On the other hand, the changes in the template should not be make in EACH template to be taken into account by the hack ?

but I hold has to say you cheer for this superb hack, I appreciate :)

MGM 02-02-2004 01:27 AM

nice one assassingod! ill definetily install this one!

/me clicks install

MGM out

Dean C 02-02-2004 08:22 AM

I mean instead of offering a url to the image offer the ability to upload it directly to a specified folder (in options) or into the database :)

Boofo 02-02-2004 09:20 AM

Steve. I'm getting red 'x where the styles should preview in the user cp. I made the image/styles directory that you said to, by the way. Also, the vertical link bar is not showing the right alt colors when you see the edit styles link and after you click on the link, that whole menu turns a solid alt color.

Boofo 02-02-2004 10:35 AM

Ok, I got it partially figured out. You might want to add to to your instructions for dummies like me that you have to take a snapshot of your styles and upload them to the newly created styles directory. ;)

Also, where do I add the navclass[styles] colors or get them to display right in the menu on the left?

assassingod 02-02-2004 01:02 PM

Boofo;
I'm glad you sorted some out, and i'll make the instructions clearer;)
I think I forgot to mention some more file edits so i'll investigate that

Mist;
Nice idea, i'll think about it

Socrate;
Quote:

On the other hand, the changes in the template should not be make in EACH template to be taken into account by the hack ?
What do you mean?

Thanks all who like this hack.

Boofo 02-02-2004 01:09 PM

Also, Steve, when I go into the Edit Styles area, the bottom style is always checked even though the top style is the one I picked. Shouldn't the radio button be on the style that you have set for yourself?
What file would this be in?

navclass

sabret00the 02-02-2004 01:24 PM

Quote:

Originally Posted by Mist
I mean instead of offering a url to the image offer the ability to upload it directly to a specified folder (in options) or into the database :)

great idea, although already a great hack, thank you very much :)


All times are GMT. The time now is 09:25 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.01153 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (3)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