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)

vbreal 09-23-2006 07:28 PM

the arcade pass isn't working. i am using 3.5.4. my members buy it but it doesn't work. what could be the problem. thanks

coRtALoS 09-23-2006 08:45 PM

does anyone use this on 3.6.1? It gives me nothing but trouble, and messes up our arcade =[

cuphongle 09-25-2006 01:50 PM

Can someone help on this?

Database error in vBulletin 3.6.1:

Invalid SQL:
UPDATE user SET ebux=ebux+40000000 WHERE userid=5217;

MySQL Error : Unknown column 'ebux' in 'field list'
Error Number : 1054
Date : Monday, September 25th 2006 @ 09:47:39 AM
Script : http://yndforum.com/vbookie.php
Referrer : http://yndforum.com/showthread.php?p=302979
IP Address : 134.39.226.39
Username : realesthomie
Classname : vb_database

gamerzindo 09-26-2006 02:42 PM

thank's alot...xD

roni1015 09-30-2006 06:36 PM

I'm trying to install this on a template that is not the default so finding where to put template edits is proving difficult. My current problem is the navbar. The navbar on this template is in the header, I have gotten the link in there but it's not popping up with all the options. Can someone take a look at the code below and help me figure out how to make this work? I'd really appreciate it!!

Code:

<!-- logo -->

<a name="top"></a>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
  <td style="background-image:url(images/c1/c1_01.jpg); background-position:right; background-repeat:repeat-y;" width="10">&nbsp;</td>
  <td style="background-color:#ffffff;"><table width="100%" style="background-image:url(images/c1/c1_04.jpg); border="0" cellpadding="0" cellspacing="0" align="center">
      <tr>
        <td align="$stylevar[left]" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
        <td width="100%" style="background-image:url(images/c1/c1_03.jpg); background-repeat:no-repeat;">&nbsp;</td>
        <td valign="middle" style="padding-right:20px;" nowrap="nowrap" ><if condition="$show['member']">
            <div class="headertxt"> <strong>
              <phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase>
              </strong><br />
              <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
              <if condition="$show['pmstats']"><br />
                <phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase>
              </if>
              <if condition="$show['pmwarning']"><br />
                <strong>
                <phrase 1="$pmpercent">$vbphrase[your_pm_box_is_x_full]</phrase>
                </strong></if>
            </div>
            <else />
            <div class="headertxt">
              <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
                <label for="navbar_username">$vbphrase[username]</label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <label for="navbar_password">$vbphrase[password]</label>
                <br />
                <input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
                <input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" accesskey="p" tabindex="102" />
                <br />
                <input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />
                <label for="cb_cookieuser_navbar">
                <input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />
                $vbphrase[remember_me]</label>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
              </form>
              <!-- / login form -->
            </div>
          </if></td>
      </tr>
      <tr>
        <td colspan="3" valign="top"><table border="0" width="100%" cellpadding="0" cellspacing="0">
            <tr align="center">
              <td width="10"><img src="images/c1/c1_08.jpg" alt="Left Nav" /></td>
              <if condition="$show['member']">
                <td class="vbmenu_header"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
              </if>
              <if condition="$show['registerbutton']">
                <td class="vbmenu_header"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
              </if>
              <td class="vbmenu_header"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
              <td class="vbmenu_header"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
              <td class="vbmenu_header"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
              <if condition="$show['popups']">
<!-- vbPlaza start -->
                        <if condition="$show['member']">
                                <if condition="$vboptions['vbplaza_enabled']"><td id="vbplazamenu" class="vbmenu_control"><a href="$show[nojs_link]#vbplazamenu">$vbphrase[vbplaza_name] $vbphrase[vbplaza_menu]</a> <script type="text/javascript"> vbmenu_register("vbplazamenu"); </script></td></if>
                        </if>
<!-- vbPlaza end -->
<!-- vbPlaza start -->
        <if condition="$show['member']">
        <!-- vbplaza tools menu -->
        <div class="vbmenu_popup" id="vbplazamenu_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">

                <tr><td class="thead"><a href="vbplaza.php?$session[sessionurl]">$vbphrase[vbplaza_name] $vbphrase[vbplaza_main]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=48">$vbphrase[vbplaza_lottery]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=27">$vbphrase[vbplaza_give_gifts]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=118">$vbphrase[vbplaza_give_ribbons]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=13">$vbphrase[vbbux_bank]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=7">$vbphrase[vbplaza_donate]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=16">$vbphrase[vbplaza_thief]</a></td></tr>

                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=richestusers">$vbphrase[vbbux_richest_users]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=userhistory">$vbphrase[vbplaza_history]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=mostsold">$vbphrase[vbplaza_most_sold]</a></td></tr>

                <if condition="is_member_of($vbulletin->userinfo, $vboptions['vbplaza_adminusergroups'])">
                        <tr><td class="thead">$vbphrase[vbplaza_admin_only]</a></td></tr>
                        <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=12">$vbphrase[vbplaza_admin_donate]</a></td></tr>
                </if>

                </table>
        </div>
        <!-- / vbplaza tools menu -->
        </if>
<!-- vbPlaza end -->
                <if condition="$show['searchbuttons']">
                  <if condition="$show['member']">
                    <td class="vbmenu_header"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                    <else />
                    <td class="vbmenu_header"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                  </if>
                  <td id="navbar_search" class="vbmenu_header"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a>
                    <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
                </if>
                <if condition="$show['member']">
                  <td id="usercptools" class="vbmenu_header"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a>
                    <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
                </if>
                <else />
                <if condition="$show['searchbuttons']">
                  <td class="vbmenu_header"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                  <if condition="$show['member']">
                    <td class="vbmenu_header"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                    <else />
                    <td class="vbmenu_header"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                  </if>
                </if>
                <td class="vbmenu_header"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
                <if condition="$show['member']">
                  <td class="vbmenu_header"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
                </if>
              </if>
              <if condition="$show['member']">
                <td class="vbmenu_header"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
              </if>
              <td width="11"><img src="images/c1/c1_10.jpg" alt="Right Nav" /></td>
            </tr>
          </table></td>
      </tr>
    </table>
    <br />
    <!-- /logo -->
    <!-- content table -->
    <table border="0" width="100%" cellpadding="0" cellspacing="0">
    <tr>
      <td><img src="images/c1/c1_13.jpg" alt="Left Container" /></td>
      <td width="100%" style="background-image:url(images/c1/c1_14.jpg);"></td>
      <td><img src="images/c1/c1_16.jpg" alt="Right Container" /></td>
    </tr>
    <td style="background-image:url(images/c1/c1_17.jpg);">&nbsp;</td>
      <td> $spacer_open
       
        $_phpinclude_output

<!-- Left Column Code  -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->


JamieLee2k 09-30-2006 07:34 PM

Code:

<!-- vbPlaza start -->
        <if condition="$show['member']">
        <!-- vbplaza tools menu -->
        <div class="vbmenu_popup" id="vbplazamenu_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">

                <tr><td class="thead"><a href="vbplaza.php?$session[sessionurl]">$vbphrase[vbplaza_name] $vbphrase[vbplaza_main]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=48">$vbphrase[vbplaza_lottery]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=27">$vbphrase[vbplaza_give_gifts]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=118">$vbphrase[vbplaza_give_ribbons]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=13">$vbphrase[vbbux_bank]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=7">$vbphrase[vbplaza_donate]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=16">$vbphrase[vbplaza_thief]</a></td></tr>

                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=richestusers">$vbphrase[vbbux_richest_users]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=userhistory">$vbphrase[vbplaza_history]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=mostsold">$vbphrase[vbplaza_most_sold]</a></td></tr>

                <if condition="is_member_of($vbulletin->userinfo, $vboptions['vbplaza_adminusergroups'])">
                        <tr><td class="thead">$vbphrase[vbplaza_admin_only]</a></td></tr>
                        <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=12">$vbphrase[vbplaza_admin_donate]</a></td></tr>
                </if>

                </table>
        </div>
        <!-- / vbplaza tools menu -->
        </if>
<!-- vbPlaza end -->

Can someone tell me if this is the code that puts a menu in the nav bar? For some reason I don't have that option in my navbar and I can't buy anything.

This has been fixed!!!

JamieLee2k 09-30-2006 07:56 PM

This is why CMX hasn't been around:

vbBux / vbPlaza Status V2.0 Update!
First Off: No I have not abandoned the project!

Second Off: I've had some complications over the past few weeks.

I am making progress on vbBux / vbPlaza v2.0. The Alpha 1 is up and running at http://www.vbplaza.com/forum/ for those interesting in checking it out.

I've been really busy as of late with everything, and I mean everything, work, home life, social life, etc... 2 of my dogs even had 3 puppies a piece so it's been really hectic here.

The core code for V2 has been almost entirely re-written from scratch. I've added some new features for Item management and a bit more. I've even done away with the plugin hooks for the individual Items in favor of some "Step" evaulation coding. For example: Every single Item in the Admin CP has an area that is dedicated to "Step" Evaluation Code. All you do is enter the step number. (e.g. Enter 1 for the purchase confirmation step for most items, or 2 for the actual purchasing of the item.) And then type up the PHP code you want to perform at that Step. And the script will "eval"uate that code at the step number you have indicated.

It should allow for easier modifications. Like for example, if you don't want a certain user using the Theif Option you would put something like this:

For Step ID: 2
Code:

if ($vbulletin->userinfo['userid'] == XX) { print_no_permission(); }


There are many uses that you could put into the step evaluation code.

This should cut the number of hooks that vbPlaza has by a ton. (Before v1 had almost as many hooks as the entire vBulletin )

Not to mention the sheer amount of items to purchase in the vbPlaza has jumped up to 195 items!! With some of the features being only for vBulletin 3.6.x as well.

I'm not sure if I will continue to keep the compatibility with vBulletin 3.5.x, due to the fact that ALL 4 of my sites currently run vBulletin 3.6.x. Only time will be able to tell this.

This v2.0 has take up quite a bit of my time as well. In reality, the script is getting to where it has to become a paid script in the end. So the final release of v2.0 will probably be a "lite" for the vB.org and other vBulletin hacker sites community downloads. And the v2.0 Full version will be a purchased script. I hope this doesn't upset too many people, and I will try to keep the price very reasonable as I know this will be a popular script. IMHO, some of the other paid scripts out there just plain cost too much.
So I will be very fair with the pricing. When you see the price and the amount of new bells, whistles, items, admin security, and other features, you won't feel cheated in the slightest.

I haven't had time to answer any of the posts at vB.org about vbBux / vbPlaza v1.x series either. And with the advancement of v2.0, I doubt I will be supporting the v1.x series in the future as well as the v1.x series will be obsolete once v2.0 is ready for release. And if I would continue to support the v1.x series, it would just slow down the progress of v2.0 as most of the engine has been rewritten. So it just wouldn't make sense to continue to support v1.x at this point in the game.

I hope everyone will continue to support vbBux / vbPlaza into the future.

-CMX

cuphongle 10-01-2006 05:46 AM

how do i set a winner or anything for lottery?

radarhunter 10-03-2006 04:16 AM

Quote:

Originally Posted by JamieLee2k
Can someone tell me if this is the code that puts a menu in the nav bar? For some reason I don't have that option in my navbar and I can't buy anything.
Take a look for yourself, http://82.16.74.99/forum/index.php

If it`s not going in Navbar then lok for the code in Header

both ways it`ll work

Christie189 10-04-2006 02:27 PM

Can someone tell me how I would go about getting the "Give Gift" link into the Postbit? Thanks in advance!


All times are GMT. The time now is 08:36 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.05024 seconds
  • Memory Usage 1,841KB
  • 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
  • (2)bbcode_code_printable
  • (1)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