Jump to content


Photo

Could some please change this code, will take under a minute


  • Please log in to reply
1 reply to this topic

#1 logged_with_bugmenot

logged_with_bugmenot
  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts

Posted 06 July 2006 - 02:49 PM

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

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

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

."<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"

Earn money with Google AdSense

#2 craygo

craygo
  • Staff Alumni
  • Advanced Member
  • 1,973 posts
  • LocationRhode Island

Posted 06 July 2006 - 06:00 PM

Not exactly sure what you mean, but should just be able to copy and paste the variables

."<img src=\"themes/LightBlue/images/icon_dot.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Your_Account&op=new_uer\">Submit Video</a> \n"

Ray




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users