Jump to content

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


Recommended Posts

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.


[b]The code used to be this[/b]

[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>[/code]

[b]and was changed to this[/b]

[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}[/code]


[b]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[/b]

[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"[/code]
Link to comment
Share on other sites

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

[code]."<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"[/code]

Ray
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.