vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Cyb - Flash-Image Banner Rotator (https://vborg.vbsupport.ru/showthread.php?t=201311)

Firestar.chkn 05-17-2009 06:25 PM

When I click on the Manage Banner (which only shows up if you're super admin, so I know I am (and I looked in the config file, and confirmed that I am a super admin), I get taken to the smilies page. I've seen this question asked asked about 5 times before me, and no reply? Please can you help?

Valter 05-17-2009 06:31 PM

Be noted that your main usergroup must be Admin (6).

This will be changed in the next version.

Firestar.chkn 05-18-2009 06:25 AM

Oh, ok. Thanks! I'm not Admin, as I created a new usergroup for super admins.

Thanks for the answer!

isatice 05-29-2009 02:51 PM

it doesn't work in postbit_legacy , so disappointing

puppetmaster222 06-02-2009 03:19 PM

Thank you Cyb. You have the cleanest to install mods on the planet, great job yet again.

LCN2007 06-08-2009 01:26 PM

Amazing Mod thanks Cyb, i love your work.

Edit: (Found my answer a couple post up)

But i am having problems with the display on VBA does it only carry over when placed in the header? I have it in the Navbar and its not carrying over like everythin g else does. the quick link is ther but not the banner.

In the next release will there be a option to set duration advertisement? I mean like if i set it to display/rotate for a year it will automatically stop and deactivate the ad when a specific date is reached?

silentdub 06-12-2009 01:49 AM

I imported it.

$template_hook[navbar_quick_links_menu_pos3]
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
$insert_cybfibr
<if condition="$show['pmmainlink']"><tr><td

I am logged in as administrator Id-6, no option for 'super admin'

I can't find where I manage the banners.

Valter 06-12-2009 06:04 PM

SuperAdmins are set in config.php.

Blue91 06-15-2009 01:25 AM

Hey Cyb,

Great mod and works great for my IE users. However, our users with Firefox cannot see the banners. Any ideas why?

Thanks.

nalexandre 06-17-2009 11:22 PM

Sorry but where i put the code of the banner i want? I´m admin and when i click "manage banners" it takes me to the smiles page! Any Help please?

Thank you

pauldack 06-27-2009 06:59 AM

Love this mod, now have it running on all of my sites. Easily the best out there (and I've used a lot).

Once modification I'd really love to see is to change the option 'Open links in new window/tab' to be configurable per banner. Some banners I want to open a new tab and some banners I want to point to locartion on same site.

Cyb, any chance of this in a future release please?

jkcerda 07-01-2009 02:41 PM

looks good, may give it a try later.

Ronseal 07-01-2009 08:59 PM

Quote:

Originally Posted by Remi (Post 1812137)
This hack seems to be almost perfect.

The problem is that I have different sizes for my banners, the variable $cyb_flashimagebanners displays all banners every where you place it.

It would be great if you can tell the hack which banner group to display in the variable.
$cyb_flashimagebanners_group_1
$cyb_flashimagebanners_group_2
$cyb_flashimagebanners_group_3

and so on


Any help or suggestion is greatly appreciated.

Thanks

I would love this functionality as well. :up:

Just to clarify, I assume the 'clicks' column is just a counter?
Development Suggestion: Would it be possible to display a specific Ad for a duration defined by clicks per month, and once the set click count is reach for a set month to no longer display the Ad?

jkcerda 07-02-2009 01:27 AM

:D
Quote:

Originally Posted by Remi (Post 1812137)
This hack seems to be almost perfect.

The problem is that I have different sizes for my banners, the variable $cyb_flashimagebanners displays all banners every where you place it.

It would be great if you can tell the hack which banner group to display in the variable.
$cyb_flashimagebanners_group_1
$cyb_flashimagebanners_group_2
$cyb_flashimagebanners_group_3

and so on


Any help or suggestion is greatly appreciated.

Thanks

that would be cool, also looking at having 2 rows of different banners, first row clockwise and second row coounter clockwise

Browser11 07-03-2009 09:03 AM

1 Attachment(s)
Thanks for the nice plugin.


Is it possible for someone to explain me, what exactly do i have to do in order banner to appear in these two positions that i've marked in the following image? (the one or/and the other)


https://vborg.vbsupport.ru/external/2009/07/25.jpg


Thx in advanced!

a9eel 07-03-2009 06:47 PM

i instalit then unstil but thx any way

Browser11 07-04-2009 07:04 AM

Anyone?

Ronseal 07-05-2009 06:46 PM

Is it possible to amend the "$cyb_flashimagebanners" code somehow and place it a specific 'Forum Description' rather than adding the code to a global template?

Ronseal 07-07-2009 07:24 AM

Cyb, are you there buddy? :)
Any help with the above would be greatly appreciated because I've tried everything I can think of, to get a banner box to appear NEXT TO (and not under) a forum description using the NAVBAR template.

Thanks
Ron

phonexpo 07-08-2009 09:23 PM

I don't understand how the banners are added :confused:


cyb_banners/ ? I don't get it...

stickyslicks 07-08-2009 11:17 PM

I'm a little slow on the uptake and it took me a bit to figure out where the banner directory should be and where I should add $cyb_flashimagebanners (ad_header_end), but it all worked out in the end.

Thank you for a great mod. This is exactly what I needed!

DeanoUK 07-09-2009 08:01 AM

Another great Cyb mod, thanks! Using on http://www.ukcigarforums.com

jkcerda 07-10-2009 12:05 AM

Quote:

Originally Posted by Cybernetec (Post 1811635)
Script rotates banners with no page refresh when you select Continuous or Random mode. Duration option is there to set how long (in seconds) individual banner is shown before script switches to the next one.

I am having issues with the timed banners, they dont work properly, i I have banners for 3 or 8 seconds and get the banners to show the same amount of time, all show at 8 seconds, changed display order & played with settings too no avail

Strike-Force.ne 07-17-2009 11:04 AM

UNINSTALLED
This is not working for fresh install of vbulletin version 3.8.3.

Manage Banner link is missing, Images don't display on any pages of the forum, Images not found in Cyb folder once the banner is setup in the manager.... and several other issues incountered.

Even with the manual insert of the code per the note with the zip file it doesn't show. I had to place a direct link to get it to show up, but then everyone sees it.

ircmullaney 07-19-2009 07:20 PM

Seems to be working fine on 3.8.3 for me.

I have a feature suggestion. I would like to set an expiration date for each ad, so that I don't have to manually remove ads later.

Also, I would like the option of adding a line of text underneath each ad which is also linked.

Dr.LoVe 07-21-2009 04:47 PM

hello , great job

but how about the query

how many query it takes ??

WingsAA 07-23-2009 01:53 AM

Quote:

Originally Posted by Browser11 (Post 1841880)
Thanks for the nice plugin.


Is it possible for someone to explain me, what exactly do i have to do in order banner to appear in these two positions that i've marked in the following image? (the one or/and the other)


https://vborg.vbsupport.ru/attachmen...1&d=1246615356


Thx in advanced!

In the navbar template, try putting "$cyb_flashimagebanners" in the following location:

Quote:

<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a><strong>$vboptions[bbtitle]$cyb_flashimagebanners</strong></div>
</if>
</td>

sambababa 07-24-2009 03:59 AM

I got it working with images but not working with flash. Set to 640 X 480. with 500 delay (just one banner atm).

Should flash be .swf or .flw?

the file is 256K is that to much? Whats the limit?


www.samdeathwalker.com

Valter 07-24-2009 07:46 AM

There is no size limit. And it should be swf.

Ensure that you have selected Flash in Banner Type setting.

bojomojo 07-26-2009 06:07 PM

I installed an all, but the banners are not showing, I replaced the $cybblabalbla with the <a href of the banner directly and it worked just fine

Fungsten 07-28-2009 08:23 PM

I've searched through the thread and couldn't find anything on Google. I assume it does not work with Google? TIA.

Mattcch 07-29-2009 01:45 AM

Work ok and smoothly installed at middle place,
which is under the navbar. Need change corresponding template with $cyb_flashimagebanners variable.

Thanks a lots.

jkcerda 07-29-2009 05:04 AM

Quote:

Originally Posted by WingsAA (Post 1853898)
In the navbar template, try putting "$cyb_flashimagebanners" in the following location:

didnt fly for me:confused:

paintballer.ie 07-29-2009 04:44 PM

Quote:

Originally Posted by Strike-Force.ne (Post 1850475)
UNINSTALLED
This is not working for fresh install of vbulletin version 3.8.3.

Manage Banner link is missing, Images don't display on any pages of the forum, Images not found in Cyb folder once the banner is setup in the manager.... and several other issues incountered.

Even with the manual insert of the code per the note with the zip file it doesn't show. I had to place a direct link to get it to show up, but then everyone sees it.

Manage banner link is there for me as I am a super admin as set in config. i.e. user '1' or '2' etc.

The cybfolder, you have to set up on your server I gather. I alredy had a banners folder so I just entered the direct url of each image and they display.



Quote:

Originally Posted by Frogsong (Post 1726790)
I just installed this and I can get the first banner to show up, and it rotates to the others but the banner image doesn't show up on any of the others.

Any ideas?

What did you do, I hav ejust installed it and the first banner shows up for the set period of time buy it does not refresh. I have it in random mode.

paintballer.ie 08-03-2009 09:40 PM

Still cant get my banners to rotate or click on. They are displayed for the set period of time but are not clickable and do not rotate.

japaro 08-03-2009 10:16 PM

does not work getting page load error on every pages, removed script and errors are gone

BillieJoe 08-08-2009 03:20 PM

i added
Code:

$cyb_flashimagebanners
to my header teamplate but the header doesnt appear on forumhome, showforum and showthread but it does appear on memberprofile, when replying etc.
what can i do to show the banners on forumhome ?

paramegsoft 08-09-2009 11:25 PM

hello

i have a bug in site title it not accept arabic words
like مسجات افلا?

my db and forum is utf 8

Mattcch 08-10-2009 08:11 AM

great mod and the flash can rotate by setting the time limit.
as got a pm from brother/sister and so may contribute for little help.

i use the ipb-pro skin and modify the "forumhome" template,and remember create a sub-directory to hold your image or flash files

,and see the following as a reference to add the "$cyb_flashimagebanners" variable:

post whole template code for easy checking.

mattcch2007
---------------------------------------------------------------------------
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar
$cyb_flashimagebanners
<br />
$photoplog[thumbnails]

<if condition="$show['guest']">
<!-- guest welcome message -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
</table>
<!-- / guest welcome message -->
<br />
</if>

<!-- main -->
$forumbits
$forumhome_markread_script
<!-- /main -->

$ad_location[ad_forumhome_afterforums]
<br />

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead>
$template_hook[forumhome_wgo_pos1]
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
$template_hook[forumhome_wgo_stats]
</div>
</td>
</tr>
</tbody>
$template_hook[forumhome_wgo_pos3]
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
$template_hook[forumhome_wgo_pos4]
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
$template_hook[forumhome_wgo_pos5]
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td>
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
</tr>
<if condition="$vboptions['showlocks']">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</if>
</table>
</td>
<if condition="!$show['guest']">
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->
</if>
</tr>
</table>
<!-- / icons and login code -->

$footer
</body>
</html>

---------------------------------------------------------------------------

jkcerda 08-13-2009 06:56 AM

it worked, you need to turn off the automatic embedding to the header template

works on mAIN page only, how do I revert it to the header area?


All times are GMT. The time now is 12:53 PM.

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.01678 seconds
  • Memory Usage 1,867KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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