View Full Version : Placing "Most Played Games" panel on non-arcade pages.
donnacha
11-28-2006, 01:33 AM
I very rarely post because, although I'm not a coder, I usually figure these things out for myself but, I must admit, hacking ibProArcade is utterly confusing; the Template -> Arcade only references a couple of variables and I have no idea how to edit those variables.
I wanted to strip out whatever code is producing the "Most Played Games" table and paste it into other vbulletin pages/templates to encourage my users to get involved in the arcade.
Before posting this, I have searched through the various ibProArcade and, although I've come across posts by people facing the same brick wall, I haven't found any answers.
One curious thing I noticed is that one of the main pages is encrypted - that confuses me, I thought it was a free mod, what needs to be protected? If MrZeroPage feels the need to protect his work, fair enough, but if the inner workings are going to be hidden, surely it would make sense to at least give us the code necessary to place these "Most Popular Games", "Best Player" etc panels throughout the rest of our sites, promoting the overall concept of forum arcades.
I would be very interested to hear opinions on this, in particular from MrZeroPage.
Donnacha
stangger5
11-28-2006, 11:14 AM
encrypted ??
I looked through all the php files,,,I didn't see anyone of them encrypted..
The only one I know that encrypts his arcade php files is Cyber and his versions are not for vb..
I have added,,Arcade Champ,,name with how many high scores and most played game plus a few other stats to the forum Statistics..
Check it out,,
The Fulcrum Point (http://www.thefulcrumpoint.org)
Foxsake
11-28-2006, 01:26 PM
That is fantastic Stangger
would love to be able to implement that also..........love the clock too :)
donnacha
11-28-2006, 04:11 PM
Hi Stangger, great site, I signed up and played quite a few games of "Who Wants to be a Millionaire" - I didn't win a million, didn't even beat the high score!
The encrypted page I'm referring to is arcade/skins/index.html:
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<title>ibProArcade</title>
</head>
<body bgcolor="#E3E6EB" lang=DE link=white vlink=white style='tab-interval:
35.4pt' leftmargin=0 topmargin=5 marginwidth=0 marginheight=0>
<br/><br/><div align=center><b>Sorry, no access granted here</b><br /><br /><br />
But you may want to donate for this fantastic Arcade-Hack<br /><br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/de_DE/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Zahlen Sie mit PayPal - schnell, kostenlos und sicher!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBAD CBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYD VQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW 5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2 ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQ AwDQYJKoZIhvcNAQEBBQAEgYADTGHMKgQuhTTckCPANcLiqrpv ZEJ2c8PIDHZ6hBH3iZNth5Asum655XP6m6hARnmTO90WRtVZTi x6q/OpWdlTQ//v3hEu/HkJLJOwQt9+Z2r+SPxRRUaXPYpl78AbBLexIpUoMoj7ochRWbn waKiqPMnbpZ7ISp2al+xVJQGrcTELMAkGBSsOAwIaBQAwgcQGC SqGSIb3DQEHATAUBggqhkiG9w0DBwQI5Vzi/c+K6mmAgaD9OC3UI4+UEicTYpp9wqCemQZ+Oyb7zYJ4JRjBL1Y LvFxJ/sZoP9/BZoWxxOxKoOI5YNWxxBvrLn7hBnn2yahphr4BpoWwWBUsBiBFw/JZPoJ+oKa3cmannoiuuhzvd4ih9GoauwMO1LvWi2yV8C4Esh2Q odXhgvueW3kCawUvEJPSv4umjb2DqHIGsBqGs7aHljEQVUNrIA WSdVDgmCyloIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcN AQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMB QGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFs IEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCG xpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29t MB4X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BgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2Nlc nRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARY NcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIh vcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDU xMDA5MTg1MzU5WjAjBgkqhkiG9w0BCQQxFgQUZMsPq4M4S7Q+G Z0eKsrjw7wVLyUwDQYJKoZIhvcNAQEBBQAEgYB+SEwCfZLLQDa tQqX9UtKvDWNv5CDtBkqmTbe77g5AbAMrT6mnmtm/5HAUBI7S8APqztNJYZ8qUCDynLeZJ2Rm3ANTxPyDzoDW5ZxFO/kJDZnytFb+pExrEKx93D1Rc/zvQaBP7mt+3MEQYzrQTfjC9SNOvwjZJVnYM/gm5QsDAw==-----END PKCS7-----
">
</form>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/de_DE/i/btn/x-click-but04.gif" border="0" name="submit" alt="Zahlen Sie mit PayPal - schnell, kostenlos und sicher!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBAD CBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYD VQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW 5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2 ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQ AwDQYJKoZIhvcNAQEBBQAEgYBCp0Z8Cx6G96r0h8HoDS4LSBqU JlRpVbt6a9v0Xx5+0Nkx19vqv81NL9yrrzdQFeCqXtO8yF2t42 bwmk7VKPgj1FspOp68Cm0k8MyukbvLiHjaJtcN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
">
</form>
Thank you!
</div>
</body>
</html>
I was searching around in the skins because, for some reason, ibproarcade doesn't follow the standard of making everything editable via the Style Manager - there's only a really short template in there (Arcade) containing an $arcadeheader and an $maincontent variable but I don't know how to access/edit them.
It's a pity, because ibProArcade is otherwise such a great mod, it's a pity MrZeroPage didn't go the final mile and produce inserts that would promote arcades throughout the rest of their forums.
Anyway, back to your site; I see that you've achieved exactly what I'm aiming for i.e. panels containing arcade info on non-arcade pages of your forum. I'd really appreciate it if you could share with us how you did it. Was it by using code from the really long arcade.php file? I tried inserting some code from that into other forum pages but it didn't work, it obviously needs some kind of wrapper around it - as I've said, I'm not a coder but I'm really trying to figure this out.
Donnacha
stangger5
11-28-2006, 09:27 PM
All that index html is,, if you want to donate..You can delete it and the arcade will still work...
To get the stats working on the home page,,just have to run a few query's..
Haven't tried it on any other site pages yet..
I made a add-on that shows,,game count,,newest game and random game on forum home..
You can find it Here..
When I get the new arcade stats done,,I will post it..
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.