![]() |
i was originally frustrated because i couldnt figure out why my images are not showing... but i got it now... and i applaud your work.. this is beautiful!!!
|
Quote:
|
Quote:
|
I love this mod, Cant wait to get upgraded version adding Link to the banner
|
Quote:
Have you thought of installing this hack, and then instead of pasting the code in place of your image, you paste it below your image? For example: PHP Code:
|
Quote:
To verify, did you chmod the folder, or the files inside of the images of it? Also, right click on the broken image at the top of your page, select Properties and then verify that the image is in the same place that you uploaded it to. BTW, did you happen to notice the Notation in bright orange? |
Quote:
any ideas?? |
Quote:
Is the file itself chmodded to 777? |
How do I edit the php file or xml file to properly have the width of the banner at 100% all the time? Basically I need my banners to be at 100% because if they are not people with widescreens have a problem viewing the banner because it is too small over the top of the forums.
If you change it within vBulletin AdminCP under the Edit Banner options to 100% it makes the banners look shrunk down or scrunched up within the Edit and Delete banner options. I would like to fix this. Any ideas? |
Quote:
I hope you find them useful.. Val. |
Quote:
|
Nice Hack! Very useful ... I'm already running a JavaScript Rotator to do this on my Forums, so dont need this, but if in the future I feel like changing I'll remember this. :up: ...
|
Hey to All people that got problems installing this, it works fine... !
PP who are looking for a banner rotator, use this... i got no errors. |
Quote:
this is a good one mod, can you make the banner rotator with the following functions ? - the ability to set how many times a banner have to be shown before the next one is shown - the ability to set the order number of each banner - the ability to set banner for usergroups regard P.S.: and its better to add a new code in templates-> header so the original forum banner stay fix on the left side and the rotating banner rotates on the right side so in templates header after: Code:
<td align="$stylevar[center]"> Code:
<td align="$stylevar[right]">$banner</td> maybe som one like it so |
The Hack posted by WarLion made a big mess on my 3.6.7
That's the error I have back: Database error in vBulletin 3.6.7: Invalid SQL: INSERT INTO vbbanners (bid, name, width, height, link, alt, flash, active) VALUES ('', 'maxsig_3.jpg', '', '', 'http://www.adobemax2007.com/europe', 'Max Barcellon', '0', '1'); MySQL Error : Unknown column 'link' in 'field list' Error Number : 1054 Date : Friday, August 3rd 2007 @ 05:52:48 AM The banner is regulary uploaded, but looks like there's no field in the DB for the link. Anyway, link doesn't work. I've overwrote the xml files and reinstalled the plugin already. Thanks for the support Steve |
Ok, never mind,
I fixed it from phpMyAdmin The field created was URL instead of LINK greetings Steve |
Quote:
I am also wanting to have my banners made in the width 1527 for widescreen users, yet the 100% width set would still show up ok for people using 1280x1024 and so on... Please help. Thanks in advance. |
ok 1 question. when i logged in it popped up also s that normal
|
Quote:
|
Quote:
|
Works great, but some images upload... and then nothing shows in their place... others work just fine.
Kinda strange, checked FTP and the files are there but it wont show the banners |
Quote:
Great - it works fine - though this put the banner to the left hand side - remember to put CENTER for centering the banner.... } else { $banner = "<a href='".$ban['link']."'><center><img src='" . $vbulletin->options[bburl] . $defaultdir . "/" . $ban['name'] . "' alt='" . $ban['alt'] . "' width='".$ban['width']."' height='".$ban['height']."' border='0'></center></a>"; } |
what a great mod
but i got the following error when i tried to add a banner http://upload.bz/files/zvjmr1zgnjqgnmdxjkdm.jpg |
Not working, i added the GIF ext and it still wont let me upload it ?
Quote:
|
It's not letting any of the ext upload lol!
|
too much of a hassle, uninstalled.
|
Just experinced, if you put a question mark (?) in ALT field, it comes up with an SQL error :)
|
Nice :)
while uploading a simple banner in ext. of jpg or png it gives this The selected file type is not allowed. |
Anybody know of a banner rotation script which allows you to actually add a URL to the banner? I don't understand what purpose a banner script is that doesn't make the banners clickable??
|
|This error is returned when trying to upload a banner:
Code:
Warning: move_uploaded_file(./images/banners/communitybanner.gif) [function.move-uploaded-file]: failed to open stream: Permission denied in /admincp/brotator.php on line 62 sorry. |
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 07:33 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:
|