FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


fix this code for 10 frih, would take under a minute





jayandsilo
I'm using phpnuke, and need the link to redirect if the person is not signed in as a user. The code was changed to do this for a different file so I need it to be changed for the one I need. 10 frih for this.


The code used to be this

Code:
href="{$SELF}?name={$MODULE}&op=videos&list=most_recent">{$LANGUAGES.Recent_Videos}</a></strong></td>
<td align=center><strong><a href="{$SELF}?name={$MODULE}&op=submit_video">{$LANGUAGES.Submit_Video}</a></strong></td>


and was changed to this

Code:
href="{$SELF}?name={$MODULE}&op=submit_video">{$LANGUAGES.Submit_Video}</a></strong></td>
{else}
<td align=center><strong><a href="{$SELF}?name=Your_Account&op=new_user">{$LANGUAGES.Submit_Video}</a></strong></td>
{/if}



Now I need this code to be changed to redirect to modules.php?name=Your_Account&op=new_user if the person isn't signed in like it does in the above code

Code:
."<img src=\"themes/LightBlue/images/icon_dot.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Video&op=submit_video\">Submit Video</a> \n"
Scorpio
Why are you cross posting all across the forum??

There are already 3 topics on the same thing

Even if you are in such a hurry you are not allowed to break rules as and when you want to
jayandsilo
why do you care. It's not your problem
Scorpio
jayandsilo wrote:
why do you care. It's not your problem


It certainly is not but it will be your problem when the mods see it and warn you for what you are doing.

FYI, I am a member of this forum and I do have a say if people break rules like you are currently doing

Since this forum is my concern, the people and the posts there are also my concern
mOrpheuS
-locked-

http://www.frihost.com/forums/vp-355532.html#355532
Related topics
fix this code for 10 frih, would take under a minute
10 frih if someone changes this code for me (easy)
10 frih$ contest: what does this c++ code do?
subscribe to my feed and take poll for 10 frih$
10 Frih$ to the first person to explain this riddle
Layouts!~ 10 Frih and up
convertin Html codes to javascript or php! 10 frih$ each!
earn 10 frih just for trying to win a .info
Order Flash Content for 10 frih$!
Next 11 members who joins comicstrips.be get 10 frih$
10 frih$ for membership
Problem: last letter of my username got cut off up-10 frih$
Sigs for sale 10 FRIH$ each!!
Your video converted into Flash 8 for 10 FRIH$
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.