Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Add a banner image to each forum (vb3.5) Details »»
Add a banner image to each forum (vb3.5)
Version: 1.6, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 08-11-2005 Last Update: 11-27-2005 Installs: 325
DB Changes Uses Plugins Template Edits
 
No support by the author.

/* -----------------8/11/2005-----------------
[HowTo] Add a banner option image w/ Link or HTML paste to each forum V.1.6
Tested on vBulletin: 3.5.0 RC2

Zachariah - http://www.gzhq.net

This is a VB3.5 Ver of my previous hack:

*** Add a banner image to each forum (VB 3.0x)
https://vborg.vbsupport.ru/showthread.php?t=61555

*** Info:
This modification will Add an image banner w/ link Or paste in your own HTML code option per forum. These files can be any image. (png, jpg, gif, ect). This will be located after the $navbar on FORMDISPLAY. This images can be located on the localhost or on a remote server.
--------------------------------------------------*/

Upload the "plug-in" and edit 2 template, It's a snap.



Changelog:
------------
1.6
Banner shows up on each thread
adds: 1 more template edit to the install
Requested by: - Ryan McBain

** Note: 1.5 - 1.6 needs only to edit SHOWTHREAD not Reinstall the XML files

1.5
Added HTML option (tested w/ Java and Iframe from phpadsnew output)
Added 3.x to VB 3.5 upgrade XML file.

** Random Banner Code Java

**Please click " Install " to track updates.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 10-05-2005, 06:55 AM
azmi's Avatar
azmi azmi is offline
 
Join Date: May 2003
Location: Germany
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by commonsense
None that I know of.. this is a fresh 3.5 install.
are you sure , that you installed the right version of the xml?
in your case it is the banner_image.xml to import.
Reply With Quote
  #43  
Old 10-05-2005, 12:21 PM
commonsense commonsense is offline
 
Join Date: Oct 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by azmi
are you sure , that you installed the right version of the xml?
in your case it is the banner_image.xml to import.
Yep. That's what I installed. I am going to try removing it today and doing it again and see what happens.

I have the interface in the admincp for all the forums, but I get the error when I try to add the code to the two template files.
Reply With Quote
  #44  
Old 10-05-2005, 12:55 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by commonsense
Yep. That's what I installed. I am going to try removing it today and doing it again and see what happens.

I have the interface in the admincp for all the forums, but I get the error when I try to add the code to the two template files.
Just looking @ your choice of words "two template files" - You are editing in the template system, not forumdisplay.php and showtread.php right ?

AdminCP => Styles & Templates => Style Manager => choose the style

*** Edit 2 Template(s) : FORUMDISPLAY, SHOWTHREAD
Reply With Quote
  #45  
Old 10-05-2005, 01:38 PM
commonsense commonsense is offline
 
Join Date: Oct 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
Just looking @ your choice of words "two template files" - You are editing in the template system, not forumdisplay.php and showtread.php right ?

AdminCP => Styles & Templates => Style Manager => choose the style

*** Edit 2 Template(s) : FORUMDISPLAY, SHOWTHREAD
Aw Jeez. I didn't realize that. I am so use to stuff like PostNuke where I am use to having to drop stuff into the file itself...

Lemme give that a shot.
Reply With Quote
  #46  
Old 10-06-2005, 01:11 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by commonsense
Aw Jeez. I didn't realize that. I am so use to stuff like PostNuke where I am use to having to drop stuff into the file itself...

Lemme give that a shot.
ya, I did postnuke for a few years .... :glasses:
Reply With Quote
  #47  
Old 10-10-2005, 05:17 PM
murrtex murrtex is offline
 
Join Date: May 2002
Location: izmir
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i want to add banner in each forum,

i get error like that;

Database error in vBulletin 3.5.0:

Invalid SQL:

REPLACE INTO datastore
(title, data)
VALUES
('forumcache', 'a:1373:{i:1;a:23:{s:7:\"forumid\";i:1;s:7:\"style id\";i:0;s:5:\"title\";s:29:\" Administrator (YÖNETİME ÖZEL)\";s:11:\"description\";s:0:\"\";s:7:\"optio .....
.blap blap blap

what should i do???
Reply With Quote
  #48  
Old 10-10-2005, 08:13 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by murrtex
when i want to add banner in each forum,

i get error like that;

Database error in vBulletin 3.5.0:

Invalid SQL:

REPLACE INTO datastore
(title, data)
VALUES
('forumcache', 'a:1373:{i:1;a:23:{s:7:\"forumid\";i:1;s:7:\"style id\";i:0;s:5:\"title\";s:29:\"Administrator (Y?NETİME ?ZEL)\";s:11:\"description\";s:0:\"\";s:7:\"optio. ....
.blap blap blap


what should i do???
Have you uninstalled and reinstalled ? - perhaps the install had a problem ?
Reply With Quote
  #49  
Old 10-10-2005, 08:38 PM
murrtex murrtex is offline
 
Join Date: May 2002
Location: izmir
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes i did ..but result is same

if i understand why being like this , i'll fix it but i dit not understand why..
Reply With Quote
  #50  
Old 10-10-2005, 08:40 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by murrtex
yes i did ..but resut is same

if i understand why being like this , i'll fix it but i dit not understand why..
If you uninstall/deactivate do you still have the same error ? (trying to root out if the DB needs fixed or the hack is the cause of the problem.)
Reply With Quote
  #51  
Old 10-10-2005, 08:47 PM
murrtex murrtex is offline
 
Join Date: May 2002
Location: izmir
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no after unistall everything is okey. i can add new forum etc. ..
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:49 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.11352 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete