![]() |
Quote:
No more need for the template edit.. |
Thank you for the reply. Pardon my ignorance but i have never made a tab before. I do not know what to enter for Target URL.
I can make a tab called Arcade but it does do anything, just acts like the whats new tab. |
Quote:
Title: Arcade Target URL: arcade.php :) |
Quote:
|
I just upgraded the forum to vBulletin 4.2 and now the arcade scores won't submit. I tried downloading the .htaccess file mentioned earlier in the thread but the .zip file won't expand.
|
try to add the index edit..
you will find that in the txt file of the archive |
Quote:
I tried pasting this into the index.php after the <?php but it made the home page error out. // ibProArcade if($_POST['module'] == "pnFlashGames") { require_once('./global.php'); switch($_POST['func']) { case "storeScore": $_GET['act'] = "Arcade"; $_GET['module'] = "arcade"; $_GET['do'] = "pnFStoreScore"; break; case "saveGame": $_GET['do'] = "pnFSaveGame"; break; case "loadGame": $_GET['do'] = "pnFLoadGame"; break; case "loadGameScores": $gid = $vbulletin->input->clean_gpc('p', 'gid', TYPE_INT); $uid= $vbulletin->userinfo['userid']; $game = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "games_scores WHERE mid=$uid AND gid = $gid ORDER BY score DESC LIMIT 0,1"); $scores = $game[score]; if($scores != false) { //Return true print "&opSuccess=true&gameScores=$scores&endvar=1"; //send endvar to keep opSuccess separate from all other output from PostNuke } else { print "&opSuccess=false&error=Error&endvar=1"; } break; } } $act = $_GET[act]; $autocom = $_GET[autocom]; $showuser= $_GET[showuser]; if($act == "Arcade" || $autocom=="arcade") { include "arcade.php"; exit(); } if(!empty($showuser) && $showuser >= 1) { $u = $showuser; $_GET[u] = $showuser; include "member.php"; exit(); } // end of ibProArcade ---------------------------------------------------------- |
That should of worked many be something was out of place.. you can email me the file and I could look it over . Details are in my profile
By the way you mentioned youtried the htaccess. Do you know if rewrite is on what code in that file? Or did you add to your already existing .htaccess |
It's just the default index file that came with the latest vbulletin.
I tried creating a .htaccess file, but since I don't really know what I'm doing, I can't say I did it right. I'm not sure how to email you an attachment. |
<a href="https://vborg.vbsupport.ru/showthread.php?p=2328579" target="_blank">https://vborg.vbsupport.ru/showthread.php?p=2328579</a>
This will help you , with the htaccess.. as far as attaching a file to a email.. find add attachment. Browse for the file v you want to attach . my email is in my profile.. |
All times are GMT. The time now is 11:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|