Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Adv] banners Hack Details »»
[Adv] banners Hack
Version: 1.1, by Creative Suite Creative Suite is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.5 Rating:
Released: 01-05-2005 Last Update: 01-08-2005 Installs: 82
DB Changes
 
No support by the author.

what it does ?

This hack allows the administrators to add banners in forumhome or forums or threads ! [ can choose any , or all ]

INSTALLATION

This Hack is tested and working on vb 3.0.4 but should work on ALL 3.x.x versions as well.
Please read the installation-English.txt file in the package CAREFULLY for installation instructions

SUPPORT

well I honestly cannot promise you to solve all-hack problems but I will try to do my best answering your questions and solving the problems I could solve , I also welcome all suggestion .

enjoy : )
Creative Suite
www.Montadiat.com

Show Your Support

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

Comments
  #12  
Old 01-06-2005, 03:42 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Parse error: parse error, unexpected $ in /forums/index.php on line 721
Reply With Quote
  #13  
Old 01-06-2005, 04:02 PM
BarKeep's Avatar
BarKeep BarKeep is offline
 
Join Date: Sep 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you may have missed a } at the end of something.
Reply With Quote
  #14  
Old 01-06-2005, 04:07 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BarKeep
you may have missed a } at the end of something.
Yes that's it, tnx
Reply With Quote
  #15  
Old 01-06-2005, 04:11 PM
Creative Suite's Avatar
Creative Suite Creative Suite is offline
 
Join Date: May 2004
Location: Kuwait :)
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NuclioN

you may have missed a } at this code

Code:
$doquery = $DB_site->query("select * from " . TABLE_PREFIX . "adv where main ='1' order by  'id' desc");
while($row=$DB_site->fetch_array($doquery)){
eval('$shir .= "' . fetch_template('adv_creativeSuite') . '";');
}
& make sure that you put the code in above of

Code:
eval('print_output("' . fetch_template('FORUMHOME') . '");');
BarKeep

thanks 4 helping

best wishes
Reply With Quote
  #16  
Old 01-06-2005, 04:38 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a nice addon creative Is it possible to add code so that the logo is replaced with the adv image in forumdisplay and showthread? In this case the header image/logo will stay present in forumhome but is variable as adv image. Now the adv image is placed under or above the header image.
Reply With Quote
  #17  
Old 01-06-2005, 05:09 PM
Creative Suite's Avatar
Creative Suite Creative Suite is offline
 
Join Date: May 2004
Location: Kuwait :)
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NuclioN

i think it's possible to do that , becouse we need to change the logo vars in header template aranoid: & that mean we should edit all files.

best wishes :up:
Reply With Quote
  #18  
Old 01-07-2005, 12:27 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This seems an awful lot like this hack:
https://vborg.vbsupport.ru/showthrea...135#post591135

Am I missing the difference here?
Reply With Quote
  #19  
Old 01-07-2005, 01:42 AM
lanc3lot's Avatar
lanc3lot lanc3lot is offline
 
Join Date: Sep 2004
Location: Athens, Greece
Posts: 454
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok installed...i have noticed some bugs(or i see them as bugs)

So here we are:

a) It seems, for a very strange reason, that the whole banner system, doesnt work for Netscape users !!!

U can go to my page : www.gamers.gr/board and see that if u go through IE u can see the banner, but if u go through Netscape u dont see it !!!

Also the same thing occurs in Firefox users !!!

Can we find any solution on that?

b) Also, i noticed that every time i go to the admin page to edit the banner, the drop down menu which says: "On Forumhome" and its yes or no, its on default to nothing and not in the option u put the last time.

c) How can u put more than one forum to be displayed the banner system? I added in the forum home, and in one more, but i cant find the solution to add it in more...For example i put the forum id 6, and the 7, 8, 9 but only showed in 6. Then i tryed put it with ; between them..but nothing again

Also, can we add that in other pages as well? For example in the arcade page, or in the Faq, Articles page

d) Is there any way, we can have simple stats in the admin page for that? for example how many ppl clicked in the banner, how many times has been shown, etc

e) Can we put a code or something above the banner, which says: "This is an advertisment" or "This site is sponsored by" ? U can see an example to sites like Gamespot.com

Thanks again for the hack
Reply With Quote
  #20  
Old 01-07-2005, 05:01 AM
jamesk jamesk is offline
 
Join Date: Jan 2004
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SVTOA
This seems an awful lot like this hack:
https://vborg.vbsupport.ru/showthrea...135#post591135

Am I missing the difference here?
I'm wondering the same.
Reply With Quote
  #21  
Old 01-07-2005, 07:41 AM
d7me4ever's Avatar
d7me4ever d7me4ever is offline
 
Join Date: Jul 2004
Location: Saudi Arabia
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

hi Creative Suite

Nice work

thanx
Reply With Quote
Reply


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:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11040 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
  • (2)bbcode_code
  • (2)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
  • (3)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