Jump to content


- - - - -

IP.Board 2.2: Adding name with thanks in Redirect Page


  • Please log in to reply
8 replies to this topic

#1 HDesigner

HDesigner

    Skin Arabia, Inc. Owner.

  • Members
  • PipPipPipPipPip
  • 181 posts
  • Location:Behind Blue Eyes!!!
  • Real Name:Hashem E.Zahran.
  • IPB Version:v2.3.x
Contributor

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.

Edited by HDesigner, 12 December 2011 - 01:37 PM.


#2 firesong9898

firesong9898

    Advanced Member

  • Banned
  • PipPipPipPip
  • 55 posts
  • IPB Version:N/A

Posted 26 September 2007 - 10:53 AM

that didnt work with 2.3.1
ipclass was listed in the  code that was supposed to be replaced
Posted Image

#3 JakGilson

JakGilson

    Member

  • Members
  • PipPipPip
  • 25 posts
  • Location:Hull
  • Real Name:Jack Gilson
  • IPB Version:v2.3.x

Posted 26 September 2007 - 11:03 AM

This works for 2.3.1 just tested smile.gif

Posted Image

.Custom Forum skins to provide your forums a boost in style PM for more info. ^_^


#4 Taz718

Taz718

    Advanced Member

  • IM Supporters
  • PipPipPipPip
  • 66 posts
  • Location:Tasmania
  • Real Name:Taz
  • IPB Version:v3.3.x

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

<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 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts
  • Location:Columbus, OH
  • Real Name:Michael McCune
  • IPB Version:v3.1.x
Contributor

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

#6 SupportersUnited

SupportersUnited

    n00b

  • Members
  • Pip
  • 0 posts
  • IPB Version:v2.2.x

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. ;)

#7 HDesigner

HDesigner

    Skin Arabia, Inc. Owner.

  • Members
  • PipPipPipPipPip
  • 181 posts
  • Location:Behind Blue Eyes!!!
  • Real Name:Hashem E.Zahran.
  • IPB Version:v2.3.x
Contributor

Posted 18 November 2006 - 08:21 PM

thanks for the edition SupportersUnited & Micheal, it's looks nice now ;)

Posted Image|| -- IP.Boards Skin Portfolio | Skin Arabia Boards -- ||Posted Image

Posted Image

"Everything should be made as simple as possible, but not one bit simpler."
--Albert Einstein (1879 - 1955)

#8 AH Modding

AH Modding

    IP.Board Modder

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 850 posts
  • Location:Bristol, United Kingdom
  • Real Name:Alex
  • IPB Version:v2.3.x

Posted 26 November 2006 - 05:37 PM

Mike is right, using name will return their login name.

#9 DaNiLoViC

DaNiLoViC

    Novice

  • Members
  • PipPip
  • 9 posts
  • IPB Version:v2.2.x

Posted 08 December 2006 - 10:10 PM

Thanks SupportersUnited ;)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users