vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - DownloadsII ver 5.0 vbAdvanced Add-On (https://vborg.vbsupport.ru/showthread.php?t=110122)

scotsmist 10-20-2007 04:16 PM

Hi Jelle,

The offer is there to yourself and any other coders. Drop by phpportals.com so we can set something up for you.

S7rik3R 12-26-2007 02:18 PM

Very nice this is what I needs ...

Thanks ~

Jay... 01-09-2008 01:38 PM

is there a way to reset the downloads count? mine hasnt been used yet it shows

' Downloads: 4294967166'

CyberRanger 01-09-2008 04:43 PM

Quote:

Originally Posted by Jay... (Post 1418361)
is there a way to reset the downloads count? mine hasnt been used yet it shows

' Downloads: 4294967166'

Run "Update Counters" located on your downloads.php page in the navigation area

cookiepants 01-21-2008 12:03 AM

I love this mod, and have a question. I would like to add a graphic to the page, but can't seem to find where to add it in. I'd like it in this box, replacing the word navigation.

Quote:

Navigation
Main | Category Tree | Stats | Search | Add | My Files | Manage Files | Update Counters
Thank you!
Nutmeg

RS_Jelle 01-21-2008 06:13 AM

That's a vB Phrase, so you can edit it using AdminCP -> Languages & Phrases
The phrase variable of it is ecdownloads_navigation

Or you can edit the downloads_wrapper_none, downloads_wrapper_side and downloads_wrapper_top templates, where it is used in ({$vbphrase['ecdownloads_navigation']}).

cookiepants 01-21-2008 04:30 PM

thanks!

REVHEAD 02-04-2008 10:01 AM

Installed this mod is awsome

pHluid13 02-18-2008 02:26 AM

Since I only want certain members to see the block on the side after they log in. Which I have done already. I was also wondering one of two things. In the Site Navigation module, is it possible to have one of the links inside of that module only viewable to a certain usergroup. If not, is there a way that I can make the header of the Downloads block a link to the downloads.php page?

For Example: I titled the Downloads module "File Cabinet". Is it possible to make the words File Cabinet" at the top of the module block into a link that goes to downloads.php. This way only those people with permissions to visit the File Cabinet may see the link to get there. This way I don't have to make a new button for the navbar at the top. Which actually, I would like to do but don't know how to edit the navbar buttons for usergroup permissions. Any of the solutions, would be great.

Edit: Nevermind on the link in the module. I figured it out. I just changed the title of the module to
Quote:

"<a href="http://www.hswaves.com/forum/downloads.php">File Cabinet</a>"
and so it became a link. So now my next project is to make a button in the navbar appear only to specific usergroups. Anyone know how to do that?

RS_Jelle 02-18-2008 06:41 AM

Quote:

Originally Posted by pHluid13 (Post 1445637)
In the Site Navigation module, is it possible to have one of the links inside of that module only viewable to a certain usergroup.

That's not possible with vBadvanced CMPS.

Btw: please click the install link if you use this mod.

Quote:

Originally Posted by pHluid13 (Post 1445637)
Edit: Nevermind on the link in the module. I figured it out. I just changed the title of the module to

There's a better way to do this with vBa CMPS. Each module has a "Module Link" setting, where you can put such links :)

Quote:

Originally Posted by pHluid13 (Post 1445637)
and so it became a link. So now my next project is to make a button in the navbar appear only to specific usergroups. Anyone know how to do that?

You can use template conditionals:
HTML Code:

<if condition="is_member_of($bbuserinfo, 6)">
If in group 6, show this...
<else />
...or else, show this.
</if>

Easier:
HTML Code:

<if condition="is_member_of($bbuserinfo, 6)">
If in group 6, show this...
</if>

Multiple groups:
HTML Code:

<if condition="is_member_of($bbuserinfo, 6, 9, 10)">
If in group 6, show this...
<else />
...or else, show this.
</if>



All times are GMT. The time now is 09:10 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.01238 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
  • (3)bbcode_html_printable
  • (6)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
  • (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