Edited by HDesigner, 12 December 2011 - 01:37 PM.
IP.Board 2.2: Adding name with thanks in Redirect Page
Started by HDesigner, Oct 31 2006 04:29 PM
8 replies to this topic
#1
Posted 31 October 2006 - 04:29 PM
This is the support topic for the tutorial Adding name with thanks in Redirect Page. Please post here if you have any questions or feedback.
#3
Posted 26 September 2007 - 11:03 AM
This works for 2.3.1 just tested

.Custom Forum skins to provide your forums a boost in style PM for more info. ^_^
#4
Posted 28 December 2007 - 01:16 AM
this does not work in 2.2.2 because in that version (and possibly the problem firesong9898 found is that the line that requires changing is
To:
That works fine, the original tutorial resulted in {ipb.lang['thanks']} {ipb.member['name']} appearing instead.
<h4>{$this->ipsclass->lang['thanks']}</h4>
To:
<h4>{$this->ipsclass->lang['thanks']}, {$this->ipsclass->member['members_display_name']}</h4>
That works fine, the original tutorial resulted in {ipb.lang['thanks']} {ipb.member['name']} appearing instead.
#5
Posted 31 October 2006 - 04:55 PM
You should probably use members_display_name instead of name. Oh, and in 2.2 you have to use $this->ipsclass->member in the skin instead of ipb.member.
Michael McCune - IPS Marketplace Moderator
My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter
My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter
#6
Posted 05 November 2006 - 07:30 AM
This whole code is out, the original code to look for is ...
<h4>{$this->ipsclass->lang['thanks']}</h4>
... and the replacement code is ...
<h4>{$this->ipsclass->lang['thanks']} {$this->ipsclass->member['members_display_name']}</h4>
... it will then work.
<h4>{$this->ipsclass->lang['thanks']}</h4>
... and the replacement code is ...
<h4>{$this->ipsclass->lang['thanks']} {$this->ipsclass->member['members_display_name']}</h4>
... it will then work.
#7
Posted 18 November 2006 - 08:21 PM
thanks for the edition SupportersUnited & Micheal, it's looks nice now
|| -- IP.Boards Skin Portfolio | Skin Arabia Boards -- ||
--Albert Einstein (1879 - 1955)
#8
Posted 26 November 2006 - 05:37 PM
Mike is right, using name will return their login name.
#9
Posted 08 December 2006 - 10:10 PM
Thanks SupportersUnited
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





Contributor













