TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 543
  • Total: 543

USER CP - An alternative to Profile Screen

Started by akulion, October 18, 2006, 07:57:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RoarinRow


SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

akulion

lol I just like to play around with coding until i either get it or it gets me :D

daftdate

Ok at the risk of looking like a complete and utter newbie exactly what do i change with the


Instead of ' , $txt[79] , ' put USER CP


code do i replace the whole of the $txt[79] or part of it cause im doing it wrong.
I need to get some php lessons but have to learn C++ first as its a priority for work, then im going to try to get a life.  :)

fb

Quote from: daftdate on October 20, 2006, 09:29:29 AM
Ok at the risk of looking like a complete and utter newbie exactly what do i change with the


Instead of ' , $txt[79] , ' put USER CP


code do i replace the whole of the $txt[79] or part of it cause im doing it wrong.
I need to get some php lessons but have to learn C++ first as its a priority for work, then im going to try to get a life.  :)


You would remove all of it, and replace w/ your text:



<a href="', $scripturl, '?action=profile">USER CP</a>


 

daftdate

#24
ha now i see i was missing the cherverons on either side so i now put

<a href="', $scripturl, '?page=(my article no here) ">USER CP</a>
will try that later when i get back home from work, thanx  :)

Kiwitje

I translated your USER CP in Dutch, and posted it in the Dutch section. Hope you don't mind ! :)
http://www.tinyportal.net/smf/index.php?topic=9855.0

akulion

:up: no problem - good going Kiwitje :up:

Also for those using this please fix a small error i made while typing....

change this line:

<font face="Verdana" size="2"><a href="', $scripturl, 'action=pm;sa=send;u=1"><b>Contact Admin</a><br>


TO


<font face="Verdana" size="2"><a href="', $scripturl, '?action=pm;sa=send;u=1"><b>Contact Admin</a><br>


I had mised out a ? in the code - but found it :D so fixed

whoesa

Wowow, very cool Aku! Great job!  :up:

You keep coming with interesting stuff  :)


daftdate

Yeeeeesssss waves hands in the air franticaly and thanx you for that wonderful addition to the forum, nice going.  :D  :up:

This website is proudly hosted on Crocweb Cloud Website Hosting.