vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - VSa - Flash-Image Banner Rotator (https://vborg.vbsupport.ru/showthread.php?t=236174)

HRCHOSTING 02-28-2010 07:55 PM

do you have an ETA on the CMS version? This mod would be perfect for me if that were available!

Valter 02-28-2010 09:29 PM

Quote:

Originally Posted by andreamarucci (Post 1993745)
Maybe it's not possible bu I try. I would like to use this mod to put a rotating banner here.

Attachment 113287

Is it possible? If it's possible, how?

I'll post new version soon.

Using new version do the following in product options:
- Disable auto-insertion
- Add 'navbar' to 'templates' setting
- Add 'margin-top:-30px;' to a new CSS setting (you can set -30 to different value if needed)

Then:
- Add '{vb:raw vsa_flashimagebanners}' to the top of 'navbar' template

Valter 02-28-2010 09:36 PM

v2.0.1 - Mar 01. 2010.
-Fixed: 'Manage Banners' link permissions
-Fixed: Positioning and insertion issues
-New: Ability to adjust CSS (ACP Option)
-New: Trim titles/links on Manage Banners page to save some space
-Note: Happy Independence Day to all Bosnians

To upgrade:
-Import XML, allow overwrite
-Revert product templates if modified

HRCHOSTING 02-28-2010 11:39 PM

Working now in the forums... Thanks!

When do you expect to have a working version for the CMS?

Alex@Mk3OC 03-01-2010 08:49 AM

Excellent mod, but I can't figure out how to place the banner in different places. I want it to go directly below the navbar, above the main forum display and the breadcrumb navigation links

andreamarucci 03-01-2010 11:07 AM

Quote:

Originally Posted by Valter (Post 1994036)
I'll post new version soon.

Using new version do the following in product options:
- Disable auto-insertion
- Add 'navbar' to 'templates' setting
- Add 'margin-top:-30px;' to a new CSS setting (you can set -30 to different value if needed)

Then:
- Add '{vb:raw vsa_flashimagebanners}' to the top of 'navbar' template

Thank you very much Valter. Discovered also where to put the additional css...

I've just donated to you since your support and your mode are invaluable...:D Thanks for everything...

Valter 03-01-2010 07:19 PM

I'm glad it works fine now. :-)

Thanks for your support!

Alex@Mk3OC 03-02-2010 11:59 AM

Quote:

Originally Posted by Alex@Mk3OC (Post 1994351)
Excellent mod, but I can't figure out how to place the banner in different places. I want it to go directly below the navbar, above the main forum display and the breadcrumb navigation links

Anyone got any ideas on the above?

Also is there anyway of using this with Google Adsense as well as regular banners?

valendono 03-02-2010 11:36 PM

this is only one position of banner ? how about multi position ? like header and footer ?

mawby 03-03-2010 02:14 PM

I have a small problem, in the plugin "VSa - Flash-Image Banner Rotator - OU" you use;

PHP Code:

 if (in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s'$vbulletin->config['SpecialUsers']['superadministrators'], -1PREG_SPLIT_NO_EMPTY))) 

to determine if the Quick Links menu should have the "Manage Banners" item added, but in "VSa - Flash-Image Banner Rotator - SP" you use;

PHP Code:

if ($vbulletin->userinfo['usergroupid']=='6'

which means if a user group has super moderator permissions, but isn't group ID 6, they get the "Manage Banners" menu option but when it's clicked they are taken to a page of smilies!

EDIT TO ADD - This also applies to editing a banner where it checks for usergroupid==6 too.


All times are GMT. The time now is 08:25 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.01269 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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