vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Trader Ratings v1.2.0 modification (https://vborg.vbsupport.ru/showthread.php?t=81824)

hasan2k 05-21-2005 07:41 PM

Trader Ratings v1.2.0 modification
 
Hi

I am looking for someone who can modify the following hack:

Trader Ratings v1.2.0 (https://vborg.vbsupport.ru/showthread.php?t=65730)

When you download the installation zip file, there is a file called template.txt which gives instructions as to how to make the traderratings.php file need to modified to allow for access based on usergroup permissions. But it doesnt tell much.

What I want is, there will be 2 usergroups that will be allowed to access the features in the hack. Any user from any other usergroup will get a error message.

In the template.txt file provided with the installation zip file it says the following:



Quote:

NOTE: If you only want specific user groups to use the ratings, you will also need to modify the traderratings.php code to prevent users from getting to the feedback page through manual URLs (unlikely, but possible). This feature will be fully implemented in the next version (if you don't want to modify the php file).

Can anyone here tell us the what code in the php file to modify. I have done the template modification to not allow certain user groups but i want to make it full proof so that none can use the ratings system via manually going to the trader ratings pages (all pages in TR).

I would appreciate if someone here gives me the actual code to reflect the change.


All times are GMT. The time now is 09:16 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.00997 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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