vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Banner Rotator (Definitive Mod) **UPDATED** (https://vborg.vbsupport.ru/showthread.php?t=133954)

xcesiv 01-13-2008 05:44 AM

Still wondering how to changethe banner to be left justified

mofeu 01-14-2008 06:30 PM

Quote:

Originally Posted by rwoscott (Post 1403106)
Include image.gif in the allowed extensions. Remember to include a pipe | to separate each item.

Warning: move_uploaded_file(./images/banners/tmbannergoodfh5.gif) [function.move-uploaded-file]: failed to open stream: No such file or directory in /admincp/brotator.php on line 62

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpQXZM3M' to './images/banners/tmbannergoodfh5.gif' in /admincp/brotator.php on line 62

mofeu 01-14-2008 06:57 PM

Quote:

Originally Posted by rigodiaz (Post 1399139)
Just create a new folder in the images folder with the name "banners", and change mod 777.


Grate Mod, thanks!


OK!!!:)

mofeu 01-14-2008 07:05 PM

In my skin
I don't have to replace <img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />
Is anything that I can do?

socalrico 01-17-2008 11:10 PM

does your banner ad mod allow you to click and link? If so how?

Oh wait I just read that it will be a future feature. Any idea when?

socalrico 01-19-2008 04:45 PM

It would be nice to have this mod combined with cyb flash image banner rotator

Admin CP access with link options as opposed to Cyb flash's quick links access (That I was never able to make work)

Stile2 01-20-2008 05:55 PM

ok ever since I have done the add the url hack to this mod I get a database error.

Invalid SQL:
UPDATE banners SET
alt = '',
width = '400',
height = '120',
link = 'http://www.zenmods.com',
flash = ''
WHERE bid = '1';

MySQL Error : Unknown column 'link' in 'field list'
Error Number : 1054
Date : Sunday, January 20th 2008 @ 11:40:06 AM

Any help would be great!
Thanks

gbox master 01-20-2008 10:36 PM

Quote:

Originally Posted by SpaceStar (Post 1323196)
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:


@ SpaceStar or others
where does the php file go's
this is what i miss in the topic

and i find it not good that the coder self is not suporting this:(
therefore my respect for other coders who are supporting this hack:up:

andrefedalto 01-20-2008 11:41 PM

Hey people. I wanna apologize for leaving the mod unsuported, but i had some problems (well, i cant call it a problem, couse it was a good thing) and didnt have time to login here and help you.

But just to update you all, a new version of this mod will probably come out soon (already vB 3.7 certified :) ). Therefore i wont be supporting this thread while the new mod is under development.

Hope you all understand :)

SNATCH3R 01-22-2008 10:44 AM

Thanks for this mod...installed on vb 3.6.8....works fine....

Stile2 01-23-2008 03:17 PM

Well no support, Clicks Uninstall!!! Bummer.

SpeedJunkyz 01-24-2008 09:33 PM

Im confused about the instructions to install, can you re state them more clearly.

I DL'ed the info to my pc
I uploaded the files in the image folder in the zip
I installed the xml file product to my admincp
I do not know which template you are talking about with the header. Should I revert the header tmplate first?

edit:

I figured out how to fix the header code, however its not working what did I do wrong

what does this mean = "and CHMOD 77 the folder "/image/banners""

Robert Paulson 01-25-2008 05:25 AM

Quote:

Originally Posted by SpeedJunkyz (Post 1428251)
I do not know which template you are talking about with the header.

If you're just using the default template, edit that one. If you have a custom template, edit that one. If you are giving your users the option to select multiple unique headers, you'll need to edit all of them if you want the banners to appear on each one.

SpeedJunkyz 01-25-2008 10:27 AM

Quote:

Originally Posted by SpeedJunkyz (Post 1428251)
Im confused about the instructions to install, can you re state them more clearly.

I DL'ed the info to my pc
I uploaded the files in the image folder in the zip
I installed the xml file product to my admincp
I do not know which template you are talking about with the header. Should I revert the header tmplate first?


edit:

I figured out how to fix the header code, however its not working what did I do wrong

what does this mean = "and CHMOD 77 the folder "/image/banners""


No I figured out the header bit, its still not working. I dont know what chmod 77 means. If noone can help me I guess I will get my designer to do it thanks

webspider 01-25-2008 01:05 PM

I must be daft. How do you set the url for each banner?

gbox master 01-25-2008 01:31 PM

Quote:

Originally Posted by SpeedJunkyz (Post 1428610)
No I figured out the header bit, its still not working. I dont know what chmod 77 means. If noone can help me I guess I will get my designer to do it thanks


chmod is the rights of the dir or file
there are 3 category's owner group and world
those 3 have 3 options
read write execute

ok thats to much for me i dont understand anything of this
so lets make it easy for you
download total commander
login on the server with that
go to the file that needs to be chmodded
select it
then at the top of total at the left i think it say in english FILE
klik it then choose change atributes

then you will understand everything there is about chmod:p
for noobs like us this is the way to understand something about this:D

see jpegs :D

ps:
lees=read
schrijf=write
uitvoeren=execute
bestand=file

SpeedJunkyz 01-25-2008 04:45 PM

lol ok thanks, Nevermind I will just get my developer to do it lol

Robert Paulson 01-26-2008 06:54 AM

Quote:

Originally Posted by SpeedJunkyz (Post 1428787)
lol ok thanks, Nevermind I will just get my developer to do it lol

It's not real difficult. Right click on the file. It'll become painfully obvious at that time.

SpeedJunkyz 01-26-2008 11:53 AM

No im having a hard time reading peoples typing because either they leave out words, letters or whatever, so their typing isnt making any sense

SpeedJunkyz 01-26-2008 12:19 PM

Ok I ch mod 0777 it lol I think....why didnt someone just say change the permissions of that file/folder lol

Robert Paulson 01-27-2008 07:51 AM

Quote:

Originally Posted by SpeedJunkyz (Post 1429278)
why didnt someone just say change the permissions of that file/folder lol

Because it's easier and quicker to say chmod 777? :confused:

socalrico 01-27-2008 05:30 PM

Uninstalled. Couldn't get the link to work in quick links.

SpeedJunkyz 01-27-2008 06:10 PM

yeah it is still no worky for me what have I done wrong...anyone please I need to move on from this to another project, or else i will just uninstall Thanks

SJ

andrefedalto 01-31-2008 04:51 PM

New version, with new features: https://vborg.vbsupport.ru/showthread.php?t=169266

gbox master 01-31-2008 09:55 PM

Quote:

Originally Posted by andrefedalto (Post 1433262)

nice one dude
posting in 3.6.8 that there is a new version
and then its for 3.7
some times things can make me cry :confused:

computer1 02-23-2008 05:07 AM

I dont have this

<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />Replace with:

Code:
<center>$banner</center>
and I can upload my banners but I cant se them to my portal I use vba cmps
so plz howe shuld I do ?

here is my code for the header

Code:

<!-- logo -->
<a name="top"></a>
<div id="border"><div id="main">
<table width="792" style="margin-left: 1px; margin-right: 1px; border: 0px;" cellspacing="0" cellpadding="0">
  <tr>
    <td class="header1"></td>
    <td class="header1"></td>
  </tr>
  <tr>
    <td class="logo"></td>
    <td class="headspace"></td>
  </tr>
  <tr>
    <td class="navl"></td>
    <td class="nav"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img src="tiger/misc/nav-home.gif" width="105" height="19" style="border: 0px;" alt="$vboptions[bbtitle]" /></a> <a href="memberlist.php$session[sessionurl_q]"><img src="tiger/misc/nav-members.gif" width="105" height="19" style="border: 0px;" alt="$vbphrase[members_list]" /></a>

<if condition="$show['member']">
                        <a href="usercp.php$session[sessionurl_q]"><img src="tiger/misc/nav-usercp.gif" width="105" height="19" style="border: 0px;" alt="$vbphrase[user_cp]" /></a>
                </if>
                <if condition="$show['registerbutton']">
                        <a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="tiger/misc/nav-register.gif" width="105" height="19" style="border: 0px;" alt="$vbphrase[register]" /></a>
                </if>
<a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img src="tiger/misc/nav-search.gif" width="105" height="19" style="border: 0px;" alt="$vbphrase[search]" /></a></td>
  </tr>
</table>
<!-- content table -->

$_phpinclude_output
$spacer_open


CMGU 02-24-2008 04:34 PM

How can I make the banner This a section specifies As shown in the attached image

maidos 02-25-2008 01:41 PM

possible to put my banner at left side? i dont want it to be center

rwoscott 02-25-2008 05:25 PM

Quote:

Originally Posted by maidos (Post 1450672)
possible to put my banner at left side? i dont want it to be center

If you've put your $banner (in header template) in between <center> tags remove the center tags. Or use align=left in your <TD> tag.

mariocaz 02-25-2008 05:40 PM

How many banners can I add with this mod ?? more than 10 ?? or ther is no limitant ?

thank you

CMGU 02-25-2008 11:01 PM

Quote:

Originally Posted by CMGU (Post 1450066)
How can I make the banner This a section specifies As shown in the attached image

anybody help me?

kingmotox 03-11-2008 07:11 PM

any updates on this hack like the future plans listed.

EcoCav 04-15-2008 07:39 PM

Still getting the same error....

The selected file type is not allowed.

Is there a fix to this, or did I just waste my time?

webspider 04-15-2008 07:49 PM

Extensions accepted for upload (separated by |)

jpeg|jpg|png|bmp|gif|image/jpeg|image/png|image/gif|application/x-shockwave-flash

Jpax 04-18-2008 03:34 PM

The selected file type is not allowed. image/gif
Same errors over and over and over.

in the admin pannel > banner rotator> I changed jpeg|jpg|png|bmp|gif|image/jpeg|image/png|image/gif|application/x-shockwave-flash
to
.jpeg|.jpg|.png|bmp|.gif|.image/jpeg|.image/png|.image/gif|application/x-shockwave-flash

and it still dont work

Jpax 04-18-2008 03:59 PM

well I got it working but the links are all trying to go to my website forum. IE: 7

Heres how I aligned my banner


Quote:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[center]"><a href="<if condition="$ban['url']">$ban[url]" target="_blank"><else /></if>$banner</a></td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
http://www.Mysite.com/forum/Sitethat should be opening a new window.com <- It should go to the site i asked for when i set it up. any ideas

baymortgage99 04-20-2008 05:39 AM

Banner Rotation hack - I needed this

blazinchuck 04-21-2008 02:29 AM

I'm not seeing the banner menu in styles manager?
<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />

I took that^^^^^^out and replaced it with $banner...is that right? Take all that out and replace it with"$banner" I'm new to this and could use some help. I'm really nervous when making changes to the templates-especially when I dont understand this stuff anyway.

imports 04-22-2008 12:05 AM

it still doesnt work..any update?

pooffck 04-22-2008 08:28 PM

hello
anyone can help.... i have a problem pls
how can i put different banners, in center with some space between them ?
see the pic below:
https://vborg.vbsupport.ru/external/2008/04/28.jpg


All times are GMT. The time now is 03:42 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
  • Page Generation 0.01537 seconds
  • Memory Usage 1,830KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete