Welcome Guest [Log In] [Register]
Welcome to Thunder Services. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
  • Pages:
  • 1
  • 2
Post Requirement; Invisionfree Code
Topic Started: December 30, 2007, 1:20 am (1,336 Views)
MumIsALwaysRight


gamefreak11
Dec 30 2007, 01:20 AM
Note: With this code, groups with the PM system disabled will not be able to play in the arcade. (Mainly: validating users)


Simply replace:
Quote:
 
<script>
var atitle = "Account Name";
var arcadeurl = "Arcade URL";
</script>
<script src="http://www.xgbarcade.com/Arcade/proxgb/arcade.js"></script>


With:
Quote:
 
<script>
var atitle = "Account Name";
var arcadeurl = "http://sServer.invisionfree.com/Forum Name/index.php?act=Arcade";
var required = "Required posts";
</script>
<script src="http://www.xgbarcade.com/Arcade/proxgb/findposts.js"></script>



Replace "required posts" with the number of posts you wish for your members to have before they can view the arcade.

Before I do this, I wanted to make sure it's good due to some people having issues.

Good code or no? Also, this is 2.0 correct?
Offline Profile Quote Post Goto Top
 
Mike


yes, yes, and yes
Posted Image
It is back, and better than ever!
Offline Profile Quote Post Goto Top
 
MumIsALwaysRight


So here is what I got. I made the changes & logged out.
When you are not logged into the board and you click on the Arcade, you get a message saying "You have to have 1 post to view the Arcade".
When I logged into a test account with 0 posts, the board does not load at all and it says "Done but with errors on page". If I click on the Forums it loads fine. Still in the test account, I clicked the Arcade and once again it didnt load and I got the same "Done, but with errors on the page" message.
I then logged into my regular account and the same thing happened. The arcade will not load and what I see is "Done but with errors on page".

As of right now I would have to say this coding didnt work and I have changed things back to how it was. I know Chris has made a code, but I thought this would be the quickest and easiest way to do things. I'm really only wanting the Validating Group to stay out of the Arcade.
Offline Profile Quote Post Goto Top
 
Mike


humm ya i think all gf codes needs refreshing except Thunder Arcade 2.0 because he hasn't been on since feb
Posted Image
It is back, and better than ever!
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Invision · Next Topic »
Add Reply
  • Pages:
  • 1
  • 2