SMF Bridge Issues i...
 
Notifications
Clear all

SMF Bridge Issues in Author Profile [solved]

1 Posts
1 Users
0 Reactions
1,415 Views
 kali
(@kali)
Posts: 307
Reputable Member
Topic starter
 

URL to your eFiction: http://www.jonasbrothersfanfictionarchive.com/index.php
Version of eFiction: 3.4.3
Have you bridged eFiction, if so with what?: SMF
Any mods installed?: Challenges
Version of PHP: 5.2.5
Version of MySQL: 4.something (sorry, I don't know atm)
Have you searched for your problem: yes
If so, what terms did you try: SMF, Challenge, Fatal error, Profile
Do you have a test account for us? Yes. User name: testuser   Password: banana
State the nature of your problem:

Well, the site I'm working on is on a Dreamhost server, so I had to change the PATH TO SMF to an absolute path to get challenges to work. Then I fixed the editbio.php issue by manually editing the link.

I went to do the mini replace Contact with View Profile Mod - https://efiction.org/forums/index.php?topic=6379.0 - and realized that the PATHTOSMF was now sending users to a nice 404 error instead of to the PM or Profile.

I can't get the syntax right for the life of me. What I need is for someone to hold my hand and help mereplace the PATHTOSMF properly.

$nameinfo .= "[<a href="'".PATHTOSMF."index.php?action=profile;u=".$userinfo['uid'"]."'>"._VIEWMEMBERPROFILE."</a>]";
if(isMEMBER) {
$nameinfo .= "[<a href="'".PATHTOSMF."index.php?action=pm;sa=send;u=".$userinfo['uid'"]."'>"._PRIVATEMESSAGE."</a>]";
}

Thanks.

After a lot of swearing, I got it right.


Skins made by Kali are no longer supported!

 
Posted : 27/09/2008 2:05 am
Share: