View Single Post
  #850  
Old 02-15-2005, 04:33 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zain Jaffer
Hi Andrew, in regard to the last question ... I want all usegroups to be able to view the page, but not download it unless I choose which usegroups.

In regards to the first problem, I think I didn't make it very clear:

The actual thumbnail itself shows where I don't want it to show... for example on here: http://www.juicyduff.com/forum/local...=links&catid=2 (beside "avatars")... I only want the image to show on the main page.

But, thanks a lot for solving the other problem (image url appears in the nav menu!) !

lol .. i'm sorry if I ask too much!
Zain, I tried to explain in a previous post how to do what you want to do. You have to edit the links_main template and play around with the $viewcatname, $viewcatdesc and $viewcattext variables, which hold the category name + contents of the brief and extended category descriptions. For example, when you set up your category entry, do what you are already doing with the category name, but (e.g.) use the extended description to hold just the title without the img tag. Then kill the line
Code:
<td class="tcat" align="center"><strong>$viewcatname</strong>
in the links_main template.

As far as your permission question goes, I think you've changed your question! You achieve this as follows:
a) on the links admin page, set can_see_protected_links_on_portal permission for those usergroups that you want to be able to see but not download files.
b) for the links that you want this to apply to, associate them with a VB forum that you protect as I explained in my previous post.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01294 seconds
  • Memory Usage 1,767KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete