Advertisement:

Author Topic: Shared Forum Mod  (Read 293215 times)

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Shared Forum Mod
« Reply #40 on: April 14, 2006, 09:49:13 PM »
You definately shouldn't be seeing that. The backend mambo menu is telling you that? Sounds like it could be a bridge problem you'd need to let Orstio know about.

Offline Random

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Female
  • I'm a llama!
Re: Shared Forum Mod
« Reply #41 on: April 22, 2006, 12:59:02 PM »
first i'd like to thank all who put their work teoghter and made this alt.

few questions in the new 1.13 brige there is no line such as

$myurl = sefReltoAbs(basename($_SERVER['PHP_SELF']) . '?option=com_smf&Itemid=' . $_REQUEST['Itemid'] . '&' );

Replace with:

    $myurl = sefReltoAbs(basename($_SERVER['PHP_SELF']) . '?option=com_smf&Itemid=' . $_REQUEST['Itemid'] . '&' .  (isset($_REQUEST['forum']) ? 'forum='.$_REQUEST['forum'].'&' : ''));




I have the same problem, and can't find a similar line to change?  Can anyone please point me in the right direction?  :)

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Shared Forum Mod
« Reply #42 on: April 22, 2006, 05:43:34 PM »
Search for $myurl = sefReltoAbs and see if thats there and post the line here. If not let me know and I'll install the new bridge and check it out. I haven't had time to do that yet.

Offline Random

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Female
  • I'm a llama!
Re: Shared Forum Mod
« Reply #43 on: April 22, 2006, 07:17:59 PM »
I had a look, there is no $myurl = sefReltoAbs at all.  There is:

Code: [Select]
$sefurl = sefReltoAbs(substr($nonsefurl, strlen($mosConfig_live_site) + 3, strlen($nonsefurl) - strlen($mosConfig_live_site) - 4));

or a
Quote
$mainframe->addCustomHeadTag( '<link rel="prev" href="'. ( $mosConfig_sef == 1 ? sefReltoAbs($myurl.

And possibly a few others.  Which section of the smf file should I be searching? :)

Thanks :)

Offline Random

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Female
  • I'm a llama!
Re: Shared Forum Mod
« Reply #44 on: April 25, 2006, 04:52:30 PM »
Or... is it possible to get a copy of the previous version of the bridge anywhere?  I'd really love to get this working :)

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Shared Forum Mod
« Reply #45 on: April 25, 2006, 09:11:21 PM »
Try changing this in ob_mamboxfix:
From
Code: [Select]
$myurl = $mosConfig_live_site . '/' . basename($_SERVER['PHP_SELF']) . '?option=com_smf&amp;Itemid=' . $Itemid . '&amp;';
To
Code: [Select]
$myurl = $mosConfig_live_site . '/' . basename($_SERVER['PHP_SELF']) . '?option=com_smf&amp;Itemid=' . $Itemid . '&amp;'
 . (isset($_REQUEST['forum']) ? 'forum='.$_REQUEST['forum'].'&amp;' : '');

And this in integrate_redirect
Code: [Select]
$myurl = basename($_SERVER['PHP_SELF']) . '?option=com_smf&amp;Itemid=' . $_REQUEST['Itemid'] . '&amp;' ;
To
Code: [Select]
$myurl = basename($_SERVER['PHP_SELF']) . '?option=com_smf&amp;Itemid=' . $_REQUEST['Itemid'] . '&amp;'
 .  (isset($_REQUEST['forum']) ? 'forum='.$_REQUEST['forum'].'&amp;' : ''));

Let me know if it works so I can post it as an official fix.

Offline Random

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Female
  • I'm a llama!
Re: Shared Forum Mod
« Reply #46 on: April 26, 2006, 03:03:13 PM »
Sorry to be really stupid ;D but where do I find those?  ???  Thanks  :)

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Shared Forum Mod
« Reply #47 on: April 26, 2006, 08:44:42 PM »
No problem. I should have pointed it out. They should be in the smp.php, the same file you found the other items. Just do a search for the actual code I posted, don't worry about the ob_mambofix and such, those are just the function names.

Offline Random

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Female
  • I'm a llama!
Re: Shared Forum Mod
« Reply #48 on: April 27, 2006, 02:01:13 PM »
Thanks, I'll have a look at it tonight and see if I can get it working :)

Offline Random

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Female
  • I'm a llama!
Re: Shared Forum Mod
« Reply #49 on: April 27, 2006, 05:06:07 PM »
*Sigh* having trouble getting my ftp to work to upload the file, soon as it does I'll let you know if it works :)  Is there only one of each of those lines, or is there more than one and they all need changing? :)

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Shared Forum Mod
« Reply #50 on: April 27, 2006, 05:41:21 PM »
I believe there is only one of each, but double check just to make sure ;)

Offline Random

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Female
  • I'm a llama!
Re: Shared Forum Mod
« Reply #51 on: April 27, 2006, 05:47:08 PM »
Thanks, it'll give me something to do while I wait for my host to fix the ftp ;D  For some reason, as far as I can see it's forgotten I own the only two folders I want to access!  I can upload to anywhere else.  ::)

*edit* I found 3 of the first one and only one of the second :)
« Last Edit: April 27, 2006, 05:51:13 PM by Random »

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Shared Forum Mod
« Reply #52 on: April 27, 2006, 08:57:01 PM »
Ok, let me know if it works once you upload it.

Offline Random

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Female
  • I'm a llama!
Re: Shared Forum Mod
« Reply #53 on: April 28, 2006, 04:18:07 AM »
Ok, this is odd.  For some reason I can't access the com_smf folder in components to upload the new smf.php file to it.  I was blaming my host, so bought some cheap webspace last night and reinstalled the whole lot from scratch.... went to upload the file again, I can't access that folder on the new host either?  Seems like the user for that folder is different to the user on all my other folders.  Have I done something really stupidly wrong here, can't believe it did it twice?  ???

Offline Random

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Female
  • I'm a llama!
Re: Shared Forum Mod
« Reply #54 on: April 28, 2006, 09:35:29 AM »
Ok, figured that out, I just hadn't realised how Joomla worked, I used it to change permissions on the folders and everything works again ;D

But.... I'm getting this error when I try to go to the forum once I add that code
Quote
Parse error: parse error, unexpected ')' in /home/xxxxx/public_html/test/joomla/components/com_smf/smf.php on line 728

 
Code: [Select]
.  (isset($_REQUEST['forum']) ? 'forum='.$_REQUEST['forum'].'&amp;' : ''));
Which I think is this line.... which is the second half of this

Code: [Select]
$myurl = basename($_SERVER['PHP_SELF']) . '?option=com_smf&amp;Itemid=' . $_REQUEST['Itemid'] . '&amp;'
 .  (isset($_REQUEST['forum']) ? 'forum='.$_REQUEST['forum'].'&amp;' : ''));

:)

Offline Random

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Female
  • I'm a llama!
Re: Shared Forum Mod
« Reply #55 on: April 28, 2006, 10:10:30 AM »
Also, when I try to set each to a different theme adding the code to index.php, I get this error:

Quote
Fatal error: Call to a member function setQuery() on a non-object in /fpgs/fpgshttpd/random/sf/board/index.php on line 148

I must have missed something there too, this is hard work ;D

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Shared Forum Mod
« Reply #56 on: April 28, 2006, 01:47:15 PM »
Sorry, extra ) in there. Try this:

Code: [Select]
$myurl = basename($_SERVER['PHP_SELF']) . '?option=com_smf&amp;Itemid=' . $_REQUEST['Itemid'] . '&amp;'
 .  (isset($_REQUEST['forum']) ? 'forum=' . $_REQUEST['forum']. '&amp;' : '');

Offline Random

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Female
  • I'm a llama!
Re: Shared Forum Mod
« Reply #57 on: April 28, 2006, 01:57:43 PM »
Brilliant, that seems to work perfectly, thanks! :)

Don't suppose you'd have any idea on the theme question above?  :)

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Shared Forum Mod
« Reply #58 on: April 29, 2006, 04:17:32 PM »
I updated the first post with changed for 1.1x versions of the bridge.

Offline tracilynnb

  • Semi-Newbie
  • *
  • Posts: 39
Re: Shared Forum Mod
« Reply #59 on: May 14, 2006, 09:31:19 PM »
Anyone know why I would get this error?

Unknown table 'c' in where clause
File: /home/public_html/forum/Sources/Recent.php
Line: 101
SMF 1.1.1
Joomla Bridge 1.6
Joomla 1.0.12