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)
-   -   Major Additions - vBCredits - Ultimate Points System (https://vborg.vbsupport.ru/showthread.php?t=151924)

eido 04-05-2008 06:05 AM

yes it happens every time but only when choosing the Moderator's group
no not any other errors, just this error.

suiz 04-05-2008 11:28 AM

snap???

cdanik 04-05-2008 12:35 PM

How do I allow my moderators to subtract points from a user?

oninuva 04-05-2008 02:18 PM

Alrite I fixed it. There was an extra space in the area it was searching for so it could not find the code to replace. Thanks!

Darkwaltz4 04-05-2008 04:23 PM

Quote:

Originally Posted by suiz (Post 1483500)
snap???

what?

Quote:

Originally Posted by eido (Post 1483355)
yes it happens every time but only when choosing the Moderator's group
no not any other errors, just this error.

try repairing and optimizing your database tables. if still nothing or you dont know how, pm me an admin login with query permission, and i can see what i can find. youre the very first i know of that this has happened to

Quote:

Originally Posted by cdanik (Post 1483526)
How do I allow my moderators to subtract points from a user?

if they have access to the modcp they should be able to alter the amount directly in the user editor.

or, use the post award system, and give your mod usergroup nonzero limits (and enable them to award negative amounts, aka subtraction permissions)

Quote:

Originally Posted by oninuva (Post 1483583)
Alrite I fixed it. There was an extra space in the area it was searching for so it could not find the code to replace. Thanks!

great :)

Soonerdude 04-07-2008 12:25 AM

Is there a way to set a minimum donation amount? I get a lot of people sending $1 donations to be cute. I'd like to set the amount around $100.

Darkwaltz4 04-07-2008 04:55 AM

nope, but why bother? every amount gets taxed no matter how small.

you could always turn on moderation for those donations, but really what is the harm? :-p

Stefano Virgill 04-08-2008 04:34 AM

Hi guys,
trying to install on my 3.6.9

When I try to add the first code:

Code:

================================

Template: navbar

================================

FIND:

--------------------------------

                      <if condition="$show['pmwarning']"><br /><strong><phrase
1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>

--------------------------------

ADD BELOW:

--------------------------------

                      <if condition="$show['navbar_credits']">

                              <br />$vbphrase[credits]</a>: <strong><span
id="navbar_credits">$GLOBALS[navbar_credits]</span></strong> [<a
href="credits.php?$session[sessionurl]do=banking">$vbphrase[check]</a>]<if
condition="$show['credits_purchase']"> [<a
href="credits.php?$session[sessionurl]do=manage#purchase">$vbphrase[purchase]</a>]</if>

                      </if>


Get a syntax error:


Code:

The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/adobesw/public_html/includes/adminfunctions_template.php(3596) : eval()'d code on line 35

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

Any idea why?

Regards

Stefano

Darkwaltz4 04-08-2008 05:39 AM

you incorrectly applied the template edit, most likely chopping off the ending </if> tag from the find code when you pasted it in. undo it and try again

Stefano Virgill 04-08-2008 06:51 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1485694)
you incorrectly applied the template edit, most likely chopping off the ending </if> tag from the find code when you pasted it in. undo it and try again

Hi and thanks for your quick reply.

Unfortunately isn't that.

I checked it about 10 times! :D

As you can see the code is fully pasted:
Code:

<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>

 <if condition="$show['navbar_credits']">

                              <br />$vbphrase[credits]</a>: <strong><span
id="navbar_credits">$GLOBALS[navbar_credits]</span></strong> [<a
href="credits.php?$session[sessionurl]do=banking">$vbphrase[check]</a>]<if
condition="$show['credits_purchase']"> [<a
href="credits.php?$session[sessionurl]do=manage#purchase">$vbphrase[purchase]</a>]</if>

                      </if>


                </div>

Any other idea?

Regards

Stefano


All times are GMT. The time now is 01:22 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.02981 seconds
  • Memory Usage 1,747KB
  • 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_code_printable
  • (5)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