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

Reply
 
Thread Tools
VB Banner Control 1.2 Details »»
VB Banner Control 1.2
Version: 1.00, by KarateKid KarateKid is offline
Developer Last Online: Mar 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-15-2002 Last Update: Never Installs: 63
 
No support by the author.

Hi,

with the allowance of Firefly I repost this hack. At first I want to mention that I used PPNs ads hack only for one file in the adminoptions as a template. He made this file so perfect that I looked how he solved the adminconfigurations file for his hack.
The rest is without viewing on other hacks coded by me.

This hack has the following features:

- allows you to create banners dynamicly
- you can view stats:
-> guestclicks ( how many not logged in guests clicked on the banner )
-> userclicks ( which user has clicked how often on which banner )
-> views ( how often is the banner viewed )
- control theses stats over an admin cp script which let you:
-> add new banners
-> edit banners
-> remove banners
-> view the stats
-> remove the stats
- NEW in 1.1: Useroverview:
-> you can give a user of your forum the possibility to view the stats via ACP
-> he can see the views, userclicks and guestclicks
- NEW in 1.2: Put Banners between categories
-> you can assign each category via phpmyadmin an banner which is under this category shown
-> therefor you've to split the categories, that you have space between them

For an example, you can have a view on www.kampfkunst-board.info. The 2 banners in the middle are created dynamicly by my scripts

Here in this post I add the hack, in the next post, the screenshots

Show Your Support

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

Comments
  #52  
Old 08-09-2002, 06:52 AM
KarateKid's Avatar
KarateKid KarateKid is offline
 
Join Date: Oct 2001
Location: Sydney
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Of cource, yes, for creating the tables in your database as I wrote in the install file!
Reply With Quote
  #53  
Old 08-09-2002, 12:10 PM
JGUNS JGUNS is offline
 
Join Date: Aug 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is where my problem is. When I tried to do myphpadmin, I created a new folder called "xxxphp" in my forums directory and uploaded the phpmyadmin files. when I log on to http://www.mysite.com/forum/xxxphp I get a black, bold "PHPMyadmin" and then below that, where the db is supposed to be listed, it says config.inc.php. When I click on it, I get an error screen. What did I do wrong?
Reply With Quote
  #54  
Old 08-09-2002, 12:45 PM
KarateKid's Avatar
KarateKid KarateKid is offline
 
Join Date: Oct 2001
Location: Sydney
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

öhm, did you enter the right values into the config file?

Is php enabled on this webspace?

could you show me the link?
Reply With Quote
  #55  
Old 08-09-2002, 12:55 PM
JGUNS JGUNS is offline
 
Join Date: Aug 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See PM for link. I changed the following values inthe config file:

Your phpMyAdmin url
*
* Complete the variable below with the full url ie
* http://www.mysite.com/jgunsphp/

$cfg['Servers'][$i]['host'] = 'mysql.mysite.com';

and I added the password to my site under:
$cfg['Servers'][$i]['password']


Otherwise I left everything else alone. Incidentally, when I changed the config file and saved it, is said it was removing all formating. I guess that it becomes a pure text file. Did I not fill out the variables correctly?
Reply With Quote
  #56  
Old 08-09-2002, 01:01 PM
LouChipher LouChipher is offline
 
Join Date: Oct 2001
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I add in the Url for inside Links "$session[sessionhash]" ?
Reply With Quote
  #57  
Old 08-09-2002, 01:16 PM
KarateKid's Avatar
KarateKid KarateKid is offline
 
Join Date: Oct 2001
Location: Sydney
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@JGUNS:

I don't find a solution. Could you use the search function in this board hier. I think, there will be some threads about phpmyadmin configuration

@LouChipher:

Why not? Yes, try it out, it should work
Reply With Quote
  #58  
Old 08-09-2002, 01:25 PM
LouChipher LouChipher is offline
 
Join Date: Oct 2001
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

KarateKid, wenn ich es im CP einbinde, also bei der URL Angabe, dann geht es zwar, aber die Session wird beim klicken nicht eingefügt, sondern eben die Variable ist nur zu sehen...
Reply With Quote
  #59  
Old 08-09-2002, 02:45 PM
JGUNS JGUNS is offline
 
Join Date: Aug 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about this I changed the config file and now I get something.

I installed phpmyadmin and I get a screen with all of my threads and folders from my root and subdirectories. On the top it has my sqldatabase name- root directory name. You can pick between others. When I go to mysqlusername with no root directory it says "access denied, password NO"

Where do I run a query from? I don't see any query buttons. BTW, php myadmin is installed in the root directory, I dont know if that makes a difference. My bulletin board is in a subdirectory called "forum" Thanks for any help.
Reply With Quote
  #60  
Old 08-09-2002, 07:52 PM
KarateKid's Avatar
KarateKid KarateKid is offline
 
Join Date: Oct 2001
Location: Sydney
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@JGUNS:

The location of phpmyadmin doesn't matter. Only the right variables are important.

@LouChipher:

[german]hm, dann geht es wohl doch nicht. Bin grad am ?berlegen warum nicht, was willst du denn genau machen, dass du interne links verwenden musst um die Session zu erhalten, vielleicht kann ich dir so helfen [/german]
Reply With Quote
  #61  
Old 08-10-2002, 04:19 AM
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Location: Dallas, Tx
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok got this installed now question, how do I get the banner ads to dispay your instruction arent to detailed as to how to get a banner to show on the home page?

oh yes when I go to delete a banner I get the following error

The requested URL /forums/admin/banner.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request
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 02:27 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.07544 seconds
  • Memory Usage 2,307KB
  • 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
  • (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