| Author |
Message |
KOMAPA
Nuke Soldier


Joined: May 18, 2003
Posts: 26
|
Posted:
Wed Feb 04, 2004 5:42 am |
  |
|
     |
 |
pmilo1
Nuke Cadet


Joined: Feb 01, 2004
Posts: 4
Location: Illinois
|
Posted:
Wed Feb 04, 2004 6:51 am |
  |
Worked for me! good catch and great fix. |
|
|
    |
 |
Getyousomeofthis
Sergeant


Joined: Jan 18, 2004
Posts: 128
Location: Tulsa Oklahoma
|
Posted:
Sun Feb 08, 2004 11:32 am |
  |
I love this place . Thanks a lot guys you rock!  |
|
|
    |
 |
IChick
Nuke Soldier


Joined: Aug 28, 2003
Posts: 13
|
Posted:
Fri Feb 13, 2004 1:06 pm |
  |
| rfburn wrote: |
Yeah, same here. Mine was alread set for 'post'. The problem only exists in my subblack3dblue and subblack3dorange forum themes. All other themes and their forums work fine when using the jumpbox. I checked and both the problem forums say 'post'. If the author of the forum themes could shed some light on this, it would be great. I really like those two forum layouts.
Rf |
Im having the same problem my files say post already and im using subBlack3dBlue. Mine just seem to refresh the current page its on instead of jumping to any other forum chosen. |
|
|
   |
 |
aCe2k4
Nuke Cadet


Joined: Feb 26, 2004
Posts: 3
|
Posted:
Thu Feb 26, 2004 6:30 pm |
  |
Hi.. to all you guys that that have the "get" / "post" issue not fixing your problem..
I have a more comprehencive workaround
locate your functions.php in /includes/ dir
Locate on line 130 where it says: function make_jumpbox($action, $match_forum_id = 0)
Scroll a blitt further to about line 220 where you'll fine:
| Code: |
$template->set_filenames(array(
'jumpbox' => 'jumpbox.tpl')
);
|
Just before this, add these lines:
| Code: |
// aCe2k hack to fix jumpbox
if ($action == "viewforum.$phpEx") {
$aCeURL = str_replace("?", "&", $action); // As we are already in nuke, change the ? to &
$aCeURL = str_replace(".php", "", $aCeURL);
$aCe2kBoxFix = "Forums"; //Edit to make name=Forums
$aCe2kBoxFixer = "$aCeURL"; //Edit to make file=$url
}
// aCe2k hack END
$template->set_filenames(array(
'jumpbox' => 'jumpbox.tpl')
);
|
Further more, we need to parce this info right...
so open you jumpbox.tpl inside your phpBB's templates/<theme>/ dir...
Now MAKE A BACKUP! and past this in the original file:
| Code: |
<!-- aCe2k hack to match edit in functions.php -->
<form method="post"
name="jumpbox"
onSubmit="if(document.jumpbox.f.value == -1){return false;}"
>
<input type="hidden"
name="name"
value="{S_JUMPBOX_ACE_NAME}"
>
<input type="hidden"
name="file"
value="{S_JUMPBIX_ACE_FILE}"
>
<!-- aCe2k hack END -->
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td nowrap="nowrap">
<span class="gensmall">{L_JUMP_TO}:
{S_JUMPBOX_SELECT}
<input type="submit" value="{L_GO}" class="liteoption" />
</span>{S_HIDDEN_FIELDS}
</td>
</tr>
</table>
</form> |
This code made things work for me.
Private forums not show'n, but public does.
But there's more to do here...
Coz when your reading a thread, jumpbox automaticly selects the Topic your in, but when your reading on the Topic's page, it doesn't auto select or even print the BBS's frontpage..
Maybe som code guru can fix this?? It would mean a functions.php hack, but i just havn't got the time to learn what is, and what's not possible with nuke and phpbb, and what's stored in db and what's not.
For you out there that have the Hiarchive mod,.. donno if it'll work.. you try.. Backup and past new code and we find out soon enough
I've allso located a minor html-bug in this part of the code..
In my file, it's located on line 182 and it looks like this:
| Code: |
| $selected = ( $forum_rows[$j]['forum_id'] == $match_forum_id ) ? 'SELECTED' : ''; |
edit it to look like this, and you now have a better html rendered page.
| Code: |
| $selected = ( $forum_rows[$j]['forum_id'] == $match_forum_id ) ? ' SELECTED' : ''; |
see the little space i've added just before SELECTED ?
That's it really
NukeCops Admin / Moderator..
Please edit this reply if you find bad english and/or bad code. I'm no wizard at this. I only make thinks work, and stick to that
<i>[Edit]I'm using the Cobalt2 theme, maybe that's why this "Fixed Hack" didn't work for me and others</i>
____________________________
aCe2k just left the building |
|
|
   |
 |
siJosh
Nuke Cadet


Joined: Mar 12, 2004
Posts: 1
|
Posted:
Fri Mar 12, 2004 6:41 am |
  |
thanks man. changing "get" to "post" worked for me.  |
|
|
   |
 |
okidoki
Nuke Cadet


Joined: Apr 29, 2004
Posts: 8
|
Posted:
Thu Apr 29, 2004 6:13 pm |
  |
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
|
   |
 |
rfburn
Corporal


Joined: Nov 02, 2003
Posts: 63
|
Posted:
Mon Jul 12, 2004 9:47 pm |
  |
I will certainly try the code editing and see if mine will work. Thanks for all your hours spent on this stuff. THANKS. People should be awarded hard currency for doing stuff like this. You will certainly be rewarded in a future time, no doubt.
RF |
|
|
   |
 |
suzy
Private


Joined: Jun 13, 2004
Posts: 40
|
Posted:
Sun Aug 29, 2004 7:40 pm |
  |
| boonkwee wrote: |
If only every bug was that simple!
Thanks! |
Oh how I agree! |
|
|
   |
 |
mikeshields
Sergeant


Joined: Feb 21, 2004
Posts: 101
|
Posted:
Wed Oct 20, 2004 6:15 am |
  |
|
    |
 |
nikko
Sergeant


Joined: Jan 01, 2005
Posts: 88
|
Posted:
Sat Jan 29, 2005 12:45 am |
  |
Well. Instead of making another topic for this problem that I am facing with, I am going to use this threat to find a fix for my problem.
Now, on the "Jump to forum" every time that I try to jump to another Forum I get this: "Sorry, such file doesn't exist..."
Any help would be great.
Nikko |
|
|
    |
 |
nikko
Sergeant


Joined: Jan 01, 2005
Posts: 88
|
Posted:
Sat Jan 29, 2005 9:01 am |
  |
Sorry if I made a post again. I just wanted to let every one know about this little problem this morning again, since last night no one reply to my problem. Thanks for your help.
P.S.- I will edit this post as soon someone helps me out.
Nikko. |
|
|
    |
 |
RachelwasHere
Nuke Cadet


Joined: May 07, 2005
Posts: 7
|
Posted:
Mon May 09, 2005 7:11 pm |
  |
OK so I located my jumpbox.tpl file but where should I ftp it?....I have a seperate template for my forums. Just in the fiblack3d main folder directory?
All that is in the folder is an Images folder, and a fiblack3d.css file. |
|
|
    |
 |
RachelwasHere
Nuke Cadet


Joined: May 07, 2005
Posts: 7
|
Posted:
Mon May 09, 2005 7:13 pm |
  |
NVM I got it. I'm so dumb haha. Thanks guys for the help! |
|
|
    |
 |
BrotherJoe
Nuke Soldier


Joined: Aug 07, 2004
Posts: 19
|
Posted:
Fri Dec 22, 2006 1:25 pm |
  |
Thanks to all ... this saved me alot of time |
|
|
   |
 |
|
|