vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   v3 Arcade - Games Arcade & Challenge System [vB 3.0.3] (https://vborg.vbsupport.ru/showthread.php?t=60377)

John 03-04-2004 04:05 PM

Quote:

Originally Posted by Dolamite
i didn't see a url when searching this thread... but if it's this place http://www.netplay.co.uk/prices.html forgettaboutit ... i don't believe i'll be paying a dollar an hour to play crappy flash games :P

(don't mean to knock the hack or the games.....the games are cool.... but they become crappy flash games when you must pay to play them thats all :))

No, it's not that place. That place has nothing to do with this.

Amzadi 03-04-2004 04:44 PM

Thanks John. Will NetPlay be available soon?

John 03-04-2004 04:47 PM

As soon as humanly possible. :)

Erwin 03-05-2004 10:25 AM

Quote:

Originally Posted by John
As soon as humanly possible. :)

Awesome. :) Looking forward to it.

Owen 03-05-2004 02:46 PM

Code:

<if condition="$award[icon]!=''">
<!-- arcade awards -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="thead">Arcade Awards</td>
</tr>
<tr>
        <td class="alt1">$arcadeawards</td>
</tr>
</table>
<!-- / arcade awards -->
<br />
</if>

What do I need to do to get the IF thing working?

Nomb 03-05-2004 03:28 PM

Awesome hack! A+

Couple issues:

1) The install script does not add templates to all styles. I had to manually edit the script and do one style at a time.

2) You use images/arcade hardcoded in a few places. Maybe it would be best to add an image path style var to each style. Then you could set the path to whatever you want. In my case, I host all of our images on another server to reduce load on the webserver.

/me clicks install

mclark2112 03-05-2004 08:16 PM

Great hack! I and my users are loving this. Quick question.

I built a new vB3 board and installed the arcade, my live board is still version 2.3. What I would like to do is upgrade the old board to vb3 and then import the database from that board to the new one. Does the v# arcade make any database changes that this would screw up?

MaDCaT75 03-05-2004 08:18 PM

Quote:

Originally Posted by Nomb
Awesome hack! A+

Couple issues:

1) The install script does not add templates to all styles. I had to manually edit the script and do one style at a time.

2) You use images/arcade hardcoded in a few places. Maybe it would be best to add an image path style var to each style. Then you could set the path to whatever you want. In my case, I host all of our images on another server to reduce load on the webserver.

[high]* Nomb clicks install[/high]

yep I had issue number one happen to me too.

Nomb 03-05-2004 08:25 PM

Quote:

Originally Posted by MaDCaT75
yep I had issue number one happen to me too.

Yea, it's a definite issue. I didn't look into the code too much cause I'm busy, but, something I didn't mention:

It DOES add the templates to your first style, but that's it. If you have three other styles it will not add them.

Roody 03-06-2004 02:19 PM

Does this hack maintain the scores even after a vb upgrade so that it doesnt have to start new everytime?

Amzadi 03-06-2004 02:44 PM

Yes, the scores are stored in your database not the php files or templates.

ogden2k 03-06-2004 06:20 PM

Is there a plan for an uninstall script to remove the DB entries? This is not acceptable when we have to do them manually...

Amzadi 03-06-2004 06:23 PM

DB entries for what? Game scores, uninstalling games....????

PiotrasG 03-06-2004 06:33 PM

Quote:

Originally Posted by ogden2k
Is there a plan for an uninstall script to remove the DB entries? This is not acceptable when we have to do them manually...

this is a first version of the hack... wait dont be such a jackass...

Roody 03-06-2004 08:39 PM

Quote:

Originally Posted by Amzadi
Yes, the scores are stored in your database not the php files or templates.

That's very good to hear. Thanks for the info. :)

InsaneContender 03-06-2004 08:54 PM

Can anyone adapt this version of the pingu game...

http://mirrored.flabber.nl/bloody.pi...oody.pingu.swf

ogden2k 03-06-2004 10:30 PM

Quote:

Originally Posted by PiotrasG
this is a first version of the hack... wait dont be such a jackass...

I wasn't being one actually. I just see a lot of good hacks that don't have uninstallers. Nothing against this hack, I'm actually going to be installing it. I just want to know that there will be an uninstall script if something goes wrong.

NameWolf 03-06-2004 11:42 PM

Hello Folks !

When I try to to access the arcade admin panel, I get nothing but a blank page ? Could someone please tell me what I am doing wrong ?

Edit: I also can not get the trophies to show up in the user post profiles.

Thanks in advance.

NW

cybermomcafe 03-07-2004 12:07 AM

Thank you! My members love it!

cybermomcafe 03-07-2004 01:51 AM

One question...

When I change settings for the Arcade in the Admin CP, after clicking "Submit" it comes up and says "Could not find phrase: 'arcade_cp_settingssaved'." Then it redirects back to the settings page... but the changes are saved...

I double checked and that phrase has been added...

Just wondering :) Great Hack BTW!

mickmel 03-07-2004 10:43 AM

Quote:

Originally Posted by cybermomcafe
One question...

When I change settings for the Arcade in the Admin CP, after clicking "Submit" it comes up and says "Could not find phrase: 'arcade_cp_settingssaved'." Then it redirects back to the settings page... but the changes are saved...

I double checked and that phrase has been added...

Just wondering :) Great Hack BTW!

I had the same problem. The fix was pretty easy - read the install instructions more carefully. :) I spent hours trying to figure this one out...

Most of the phrases need to be added as GLOBAL. Some, though - like this one - need to be added as a different type. Delete the phrase from your system, and re-add it as the type of phrase they say in the install instructions and it should work.

Mickey

Owen 03-07-2004 10:53 AM

Quote:

Originally Posted by Owen
Code:

<if condition="$award[icon]!=''">
<!-- arcade awards -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="thead">Arcade Awards</td>
</tr>
<tr>
        <td class="alt1">$arcadeawards</td>
</tr>
</table>
<!-- / arcade awards -->
<br />
</if>

What do I need to do to get the IF thing working?

could someone help me out with this?

Roody 03-07-2004 02:24 PM

Let me ask something. Is there a way to implement some kind of system that a member would have to make 3-5 posts when they sign onto the boards before they could play arcade games?

Owen 03-07-2004 02:28 PM

you could just make a new group that registered users promote to after 3-5 posts.

John 03-07-2004 02:37 PM

Quote:

Originally Posted by Roody
Let me ask something. Is there a way to implement some kind of system that a member would have to make 3-5 posts when they sign onto the boards before they could play arcade games?

If you want a crude way to do it...

Find:
PHP Code:

// Checks to see if GET variables are valid 

And above this, add:
PHP Code:

if ($bbuserinfo['posts']<10){
    
print_no_permission();


Where in this example, 10 is the number of required posts to be able to play in the Arcade. People with post counts lower than that will be shown a "no permission" page.

Owen 03-07-2004 02:38 PM

Hey could you help me out? With that last post of mine?

ogden2k 03-07-2004 03:41 PM

Originally Posted by PiotrasG
this is a first version of the hack... wait dont be such a jackass...

I wasn't being one actually. I just see a lot of good hacks that don't have uninstallers. Nothing against this hack, I'm actually going to be installing it. I just want to know that there will be an uninstall script if something goes wrong.

So, is there a plan for an uninstaller?

John 03-07-2004 03:45 PM

Quote:

Originally Posted by ogden2k
I just want to know that there will be an uninstall script if something goes wrong.

So, is there a plan for an uninstaller?

Maybe there is, maybe there isn't.

Although anyone with a couple of braincells can figure out how to uninstall it. IIRC I've already been over the procedure once or twice.

John 03-07-2004 03:47 PM

Quote:

Originally Posted by Owen
Hey could you help me out? With that last post of mine?

You've just pasted a bit of code... :\

ogden2k 03-07-2004 03:51 PM

So you choose not to add an uninstaller because it may be simple remove tables from a database... Some people may not be well versed in phpmyadmin...

John 03-07-2004 03:57 PM

Quote:

Originally Posted by ogden2k
So you choose not to add an uninstaller because it may be simple remove tables from a database... Some people may not be well versed in phpmyadmin...

Stunning... People like you make me regret releasing anything to the public.

If you screw up the installation, you can easily restore from the backups you should have made to begin with. Alternatively, if you want me to teach you how to remove tables from a database, I'll write a tutorial just for you.

John 03-07-2004 03:58 PM

I just want to point out that ogden2k edited his post before I replied, changing the quote. He edited it to remove arrogance, apparently.

ogden2k 03-07-2004 04:00 PM

Quote:

Originally Posted by John
Stunning... People like you make me regret releasing anything to the public.

If you screw up the installation, you can easily restore from the backups you should have made to begin with. Alternatively, if you want me to teach you how to remove tables from a database, I'll write a tutorial just for you.

What I'm trying to say is, what if I or someone else decides they don't want the hack in the future (so restoring a backup is not an option) anymore? Yes, remove the PHP hacks, but what about the dead tables in the DB? I'm not complaining, this is a great hack. Just a request for an uninstaller. :)

John 03-07-2004 04:02 PM

Quote:

Originally Posted by ogden2k
What I'm trying to say is, what if I or someone else decides they don't want the hack in the future (so restoring a backup is not an option) anymore? Yes, remove the PHP hacks, but what about the dead tables in the DB? I'm not complaining, this is a great hack. Just a request for an uninstaller. :)

There are numerous tutorials available on the net for removing database tables.

ogden2k 03-07-2004 04:03 PM

Quote:

Originally Posted by John
There are numerous tutorials available on the net for removing database tables.

I understand your point, but the average user is not going to do this. Most hacks have an uninstaller that make things easier. This would just enhance your hack even more.

John 03-07-2004 04:10 PM

Quote:

Originally Posted by ogden2k
I understand your point, but the average user is not going to do this. Most hacks have an uninstaller that make things easier. This would just enhance your hack even more.

Getting a little tired of this. If I choose to add an uninstaller, I will add an uninstaller.

It's not exactly a revolutionary concept - it comes down to whether I'd rather spend time on another Arcade add-on that everyone will enjoy, or instead work on something to save 0.1% of people from having a couple of redundant tables in their database.

ogden2k 03-07-2004 04:12 PM

Some people like to keep their DB clean. Oh well, I was hoping for an uninstaller.

Owen 03-07-2004 04:15 PM

Quote:

Originally Posted by John
You've just pasted a bit of code... :\

with a question under it.... Maybe I should say that the code is in the member info template.

trackpads 03-07-2004 04:17 PM

Quote:

Originally Posted by John
Getting a little tired of this. If I choose to add an uninstaller, I will add an uninstaller.

It's not exactly a revolutionary concept - it comes down to whether I'd rather spend time on another Arcade add-on that everyone will enjoy, or instead work on something to save 0.1% of people from having a couple of redundant tables in their database.

I agree, just use Phpmyadmin and remove the tables.... More games!!!

John 03-07-2004 04:17 PM

Quote:

Originally Posted by ogden2k
Some people like to keep their DB clean. Oh well, I was hoping for an uninstaller.

Then code one, or keep on hoping.


All times are GMT. The time now is 03:30 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.04612 seconds
  • Memory Usage 1,839KB
  • 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
  • (2)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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