![]() |
Quote:
Check post #47 |
Quote:
check post #57! I've modified these files and it's working great for me at www.pegham.com - you can make your own modifications or use these files I've modified: |
I'm new to all of this!
VB is a big application, probably too big for me. Anyway... ...I would like to use this Banner utility. "- Upload all the files contained in the "upload" folder inside the zip to your forum root directory." ...I don't have any ZIP file or folder in my Forum directory... Also, I don't have any admincp, because I changed the name. Is it the same? "- Install product-brotator." The file is "product-brotator.xml" ? Where do I have to upload it ? How do I have to install it ? Thanks from any help in the world! I just finished to change the look of my forum site, I would like to finish this to make it run. I understand these are silly questions... Thanks for any help |
Scenes, to answer your questions:
I'm not sure what you mean by the fact that you changed the name of admincp, but it's the admin control panel (clicking admin on the lower right-hand corner of your forum page). Once in, go to "Plugins & Products" and go to "Manage Products". Then in the right page go to Add/Import plugin and this is where you browse to the xml file to upload the plugin. Download the zip file underneath the "Download Now" section of the first post. |
:( Arghhhhh!
Thanks for reply ! I just discovered how to upload the plug-in. This VB is incredible... lot of parameters everywhere! Anyway... It's absolutly fantastic! Ok, I was able to install it and I made a test uploading a jpg banner. Of course, as I read in previously posts, I had an error about "image/pjpg" kind of images. I fixed. Now on the page is showing the banner: wow ! Hurrah ! But... There's a way to put the banner aligned to the LEFT ? It seems that the CENTER is locked ! I tryed to see at the php file... But I didn't understand where is this option... I added a forced div alignment in the common templates manager, but doesn't work... Where do I have to check ? :confused: Thanks |
:) This add-on is nice and works.
Not easy to install at first time, but then it gives good results. Only : 1) I don't succeded in changing the alignment for banners. They always look in the middle of their space. 2) I'm using banners of 468x60 pixels. Very strange, if I go with the mouse on the left and on the right (out of the banner) the link remains active. I have a doubt, somewhere in the php gives to banners fixed dimensions? Probably is also the matter that it dosn't move on the left... 3) Is it possible to add the chance to know how many time the banners are displayed? 4) Is it possible to add the chance to know how many times banners are clicked? I don't know php, just a little to change minimum customization if they are in html. Banners inside PHP-Nuke works great. Is it possible to use the same modules inside VB ? :D Too many questions???? BTW - here's my forum site: http://www.zag.it/forums |
ive uploaded this and there doesnt seem to be an option anywhere for uploading banners. am i missing something? the edit option shown in the first screenshot at the top of the page isnt there.
|
Hi how
wow long time this mod is not updated ok for the intersted i been workin a little bit in this hack the last time was for the mod for url and this time is for choose the target opcion i meant _self, _blank _top etc. remenber you need to have the last mod with the link opction post 57 and then you can do this one. for this you need to edit two files one is Product-brotator.xml and brotator.php lets start with product-brotator.xml you need to find this line Code:
`link` varchar(255) NOT NULL default '', Code:
`target` varchar(20) NOT NULL default '', Code:
$banner = "<a href='".$ban['link']."><img src='" . $vbulletin->options[bburl] . $defaultdir . "/" . $ban['name'] . "' alt='" . $ban['alt'] . "' width='".$ban['width']."' height='".$ban['height']."' border='0'></a>"; Code:
$banner = "<a href='".$ban['link']."' target='".$ban['target']."'><img src='" . $vbulletin->options[bburl] . $defaultdir . "/" . $ban['name'] . "' alt='" . $ban['alt'] . "' width='".$ban['width']."' height='".$ban['height']."' border='0'></a>"; you can upload the xml with admincp- >products & plugins-> add / import product-> and allow the overwrite if you already have it now lets start with brotatos.php find Code:
$defaultdir = str_replace(".", "", $vbulletin->options['brotator_default_dir']); Code:
$target_options = array( Code:
print_input_row('Link', 'link', $vbulletin->options['brotator_default_link']); Code:
print_select_row('Target', 'target', $target_options, _self); Code:
$db->query_write("INSERT INTO " . TABLE_PREFIX . "banners (bid, name, width, height, link,, alt, flash, active) VALUES ('', '$fname', '$_POST[width]', '$_POST[height]', '$_POST[link]', '$_POST[target]', '$_POST[alt]', '$_POST[flash]', '$_POST[active]')"); Code:
$db->query_write("INSERT INTO " . TABLE_PREFIX . "banners (bid, name, width, height, link, target, alt, flash, active) VALUES ('', '$fname', '$_POST[width]', '$_POST[height]', '$_POST[link]', '$_POST[target]', '$_POST[alt]', '$_POST[flash]', '$_POST[active]')"); Code:
link = '$_POST[link]', Code:
target = '$_POST[target]', Code:
Height: <input type='text' class='bginput' name='height' value='$banner[height]' class='bginput' size='5'><br><br> Code:
Target :<select name='target' onChange='MM_jumpMenu('parent',this,0)' class='bginput'> Code:
http://img142.imageshack.us/img142/488/addfc6.png i don put the files cuz al are in spanish lol i will try to upload after i translate back. and i have a new idea i will make to choose the alig give me more ideas do you like <div> or <table>, <center> what do you like more? i will made the modifficaccion and a complite new product to upload |
DAMN THIS THING. I installed this to the letter, and had awful problems with it. Got it working almost, and then found that I cannot get into my adminCP - well I can get into my adminCP but not the vBulletin Options part at the top - just getting a blank screen. All other parts of the adminCP work. I have done nothing else but install, and now un-installed this mod. Now the un-install is done, template changed back etc, this adminCP error remains. Can anyone help?
Attachment 69075 |
Quote:
and wich version of VB do you have? |
All times are GMT. The time now is 12:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|