vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - vbBux / vbPlaza v1.5.8 (Points + Store System) (https://vborg.vbsupport.ru/showthread.php?t=106953)

LBSources 02-04-2006 04:27 PM

Quote:

Originally Posted by TosaInu
Hello,

Is it possible to have this restricted to one forum/skin only?

sure, just make the template edits to the template (of the skin) of your choice.. obviously though if your members find http://www.yourdomain.com/estore.php they will find the store and they can participate .. but they WONT see points in their postbits and memberinfo.

also if youre trying to do this for testing reason.. this isnt a good way.. create a test board instead..

HTH

Lenny :)

caimakale 02-04-2006 04:29 PM

How about a branding free option, what will it cost?

Oddjob 02-04-2006 04:42 PM

Quote:

Originally Posted by Ignignokt
Yes, If you change the cash tables to uCash (assuming you were using it). Not sure about fresh installls...


Im confused.

I got rid of ucash and am using the ebux now......so how can i cahnge tables?

Frugal 02-04-2006 05:13 PM

Can someone help me. I'm trying to make certain user groups immune from having their title changed. I have edited

This part of the action.changeotherusertitle.php

Code:

// you cant change an administrators title :p
if (($touser['usergroupid'] == '6') || ($touser['userid'] == '1'))
{
// display error, this user is protected against this action
eval(standard_error(fetch_error('estore_protected_user')));
}

To

Code:

// you cant change an administrators title :p
if (($touser['usergroupid'] == '6') || ($touser['userid'] == '1') || ($touser['usergroupid'] == '27') || ($touser['usergroupid'] == '12') || ($touser['usergroupid'] == '22') || ($touser['usergroupid'] == '19') || ($touser['usergroupid'] == '13') || ($touser['usergroupid'] == '11') || ($touser['usergroupid'] == '35'))
{
// display error, this user is protected against this action
eval(standard_error(fetch_error('estore_protected_user')));
}

And yet still only admins are immune, the users in all the other groups listed above can still have their titles changed.

What am I doing wrong?

Frugal

LBSources 02-04-2006 05:17 PM

Quote:

Originally Posted by Frugal
Can someone help me. I'm trying to make certain user groups immune from having their title changed. I have edited

This part of the action.changeotherusertitle.php

Code:

// you cant change an administrators title :p
if (($touser['usergroupid'] == '6') || ($touser['userid'] == '1'))
{
// display error, this user is protected against this action
eval(standard_error(fetch_error('estore_protected_user')));
}

To

Code:

// you cant change an administrators title :p
if (($touser['usergroupid'] == '6') || ($touser['userid'] == '1') || ($touser['usergroupid'] == '27') || ($touser['usergroupid'] == '12') || ($touser['usergroupid'] == '22') || ($touser['usergroupid'] == '19') || ($touser['usergroupid'] == '13') || ($touser['usergroupid'] == '11') || ($touser['usergroupid'] == '35'))
{
// display error, this user is protected against this action
eval(standard_error(fetch_error('estore_protected_user')));
}

And yet still only admins are immune, the users in all the other groups listed above can still have their titles changed.

What am I doing wrong?

Frugal

frugal.. why not upgrade and just give the admins enough cash to purchase the change title immunity product?

LBSources 02-04-2006 05:21 PM

Quote:

Originally Posted by Ignignokt
Yes, If you change the cash tables to uCash (assuming you were using it). Not sure about fresh installls...

a little more detail on this.. change the cash tables where? in what product settings? what variable?

thanks..

Lenny

Frugal 02-04-2006 05:22 PM

Quote:

Originally Posted by LBSources
frugal.. why not upgrade and just give the admins enough cash to purchase the change title immunity product?

The admins already have immunity, it's the other 2000 or so users who's titles I wish to protect. I'd have to inform them all how to use the immunity that is the problem. Also a few of my members are dead and their title reflects that they died in combat, I would hate for someone to mess with their titles.

Frugal

Saskia 02-04-2006 05:29 PM

Quote:

Originally Posted by Ignignokt
View Richest Members is broke I believe...

In estore.php find the following code:
PHP Code:

        LIMIT 30 

and replace it by the following:
PHP Code:

        LIMIT " . $vbulletin->options['ebux_viewrichestnumber'] . " 

That fixed it for me.

Great Extension by the way! I've been waiting for a donation feature for ages now. I'm hitting install as soon as I have it fully customized. Thank you so much!

And Frugal, shouldn't you use OR's in your conditions? I'm not an expert, but I'd try that?

kofoid 02-04-2006 05:56 PM

I too would be happy to donate some $$$$ if you can get that gifts hack incorporated!!!

cRaZy-BoY 02-04-2006 05:58 PM

can you add a New Option.... that some one will need X poinst to move to Y group (that i'll set) for Z days....

or something like that....

and your hack is great i Installed it....Thank you for this hack :)


All times are GMT. The time now is 11:29 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.03770 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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