vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Download link in the games? (https://vborg.vbsupport.ru/showthread.php?t=202338)

whitey1974 01-19-2009 12:01 PM

Download link in the games?
 
I've noticed on most of the invision powered boards they have a download link on each game which enables you download the game you're looking at (this is how I've got nearly all of my games). This is usually set up for affiliate sites or premium members etc, often limiting the amount of games you can download per day.

However on the Vbulletin sites I visit I see there isn't such a feature available.

Does anyone know of a mod/hack for doing this so I can allow downloading of games for certain usergroups etc? I've searched for quite a while on this one, and I haven't found anyone who has downloads for the games.

vbplusme 01-19-2009 02:12 PM

You have to wrap a conditional around the download link that only allows access to it by the usergroup you specify. For example:

HTML Code:

<if condition="$bbuserinfo['usergroupid'] == 9">
<a href="yourdownloadlink">download here</a>
</if>


Assuming that usergroup 9 is your preferred download group. Other usergroups would even see the link.

HTH

stangger5 01-19-2009 04:17 PM

I`ve only seen two or three vb sites that has this option..;)


All times are GMT. The time now is 08:50 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.01084 seconds
  • Memory Usage 1,710KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete