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 - Open Internal Links in Same Tab - Ported by BOP5 (VB 4.x & VB 3.x) (https://vborg.vbsupport.ru/showthread.php?t=286348)

BirdOPrey5 01-07-2014 11:35 AM

Can you post or PM link to your forum?

ozzy47 10-15-2014 01:00 AM

Joe I am working on a mod, that has banners in a block. I redirect the user to

HTML Code:

ozzmodz_link.php?goto={vb:raw sitelink.site_url}&siteid={vb:raw sitelink.site_id}
when they click on the banner. What this does is increase the click count for each banner, then redirects the user to the requested site.

Each banner can be set to self or blank. But with your script running it of course opens in the same tab only. How can I over ride that?

BirdOPrey5 10-15-2014 09:07 AM

There really is no way around it as the mod is coded.

I suppose you could add a check to see if the element is part of an "ignoreme" class and if so, ignore it.

Feel free to release a new version if you wish, it is re-usable code.

ozzy47 10-15-2014 10:32 AM

Yeah that is a bit beyond my skills, but I guess I can search around.

BirdOPrey5 10-16-2014 08:05 AM

Yeah- Not really in mine either... I hate JavaScript. This mod only has 30 installs, wouldn't worry about compatibility too much.

stangger5 02-27-2023 09:51 PM

Installed on vb4.2.5, I don't see the admincp option to add domain.

Hostboard 02-28-2023 01:19 PM

It is just easier to edit a file:

https://vborg.vbsupport.ru/showpost....7&postcount=17


All times are GMT. The time now is 07:04 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.01072 seconds
  • Memory Usage 1,727KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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