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)
-   -   Forum Headers Hack (https://vborg.vbsupport.ru/showthread.php?t=42745)

Smoothie 08-31-2002 08:12 AM

FASherman-

Any chance of getting that code posted? :)

Dean C 08-31-2002 07:37 PM

this is awesome.. didn't realise what this did til now :D

*goes to install*

Smoothie 08-31-2002 10:52 PM

Find:
Quote:

$DB_site->query("INSERT INTO forum
(forumid,styleid,title,description,active,displayo rder,parentid,
parentlist,allowposting,cancontainthreads,iconimg,
daysprune,newpostemail,newthreademail,
moderatenew,allowhtml,allowbbcode,allowimages,allo wsmilies,allowicons,
styleoverride,allowratings,countposts,moderateatta ch,forumnewsid)
VALUES
(NULL,'$styleset','".addslashes($title)."','".adds lashes($description)."','$isactive','$displayorder ','$parentid',
'','$allowposting','$cancontainthreads','".addslas hes($iconimg)."',
'$daysprune','".addslashes($newpostemail)."','".ad dslashes($newthreademail)."',
'$moderatenew','$aallowhtmlcode','$aallowbbcode',' $aallowimgcode','$aallowsmilies','$aallowicons',
'$styleoverride','$allowratings','$countposts','$m oderateattach','$forumnewsid')");
Ok this part I can find in my admin/forums.php, but not all of what's above is there, specifically: iconimg, forumnewsid, '".addslashes($iconimg) and this '$forumnewsid')"); Same with step 7. Can someone help? i know that these need to be removed from the repace part, but what exactly should the replace code look like? Need step 5 and step 7 replace code. thanks!

Dark Waltz 10-18-2002 04:35 AM

can I use this to add a different logo to each forum on my board?

N9ne 10-18-2002 07:52 PM

Dark Waltz: yes you can.

floridaideal 10-19-2002 12:12 AM

How can I add a different vb logo on each of the forums please? This would complete the great hack, just installed it and had to remove a little extra code but its working great now.

Just need to know how to edid the logo and buttons.

Thanks

Stu

ricoche 11-15-2002 03:00 PM

Hi there,

Today I just finished installing this hack and I must say I'm very impressed and excited about it. It works very well and I've already created a layout in the header for my Flash Gallery Menu and Forum Jump links. It works beautifully. Thanks so much for a nice hack. It really allows me to create and experiment with new things.

I did encounter one strange thing that I apparently fixed. On my site I run multiple themes, such as Ravio, Ekko, Emerge etc. When I installed this I used the Ravio and Ravio Blue skins to test the hack. I found that when using image files for category headers it leaked into to other category headers in the forum and in my vbportal. The background images had the same name "catbg.gif" but were in different folders and were different images. So I just renamed them to different names and it corrected the problem. Sorry, but that might be difficult to understand <LOL>

Anyway, great hack. I'm really going to enjoy this. I attached a screen shot if anyone wants to see how I started using this hack for my site.

Thanks again,

Ricoche :bunny:

gynot67 12-05-2002 05:10 AM

Ok, first off, fantastic work!!
This is one step away from being exactly what I needed.
Got it all installed and running beautifully, however does anyone know how I can go about making this javascript friendly?
I'm looking to stick a banner rotation in a particular forum

Figment 01-20-2003 06:41 AM

Wow!!!

firas 03-16-2003 05:50 AM

i like it but i don't have the icon hack so would you please tell me what to do exactly


All times are GMT. The time now is 05:38 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.01059 seconds
  • Memory Usage 1,736KB
  • 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_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