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: 559
  • Total: 559

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

You code is definitely different than mine.  I just went to MAC and did a comparison.  Your does not have 'Show My Shouts' and your icons are different.

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

bluedevil

Quote from: RoarinRow on March 20, 2007, 10:07:40 PM
You code is definitely different than mine.  I just went to MAC and did a comparison.  Your does not have 'Show My Shouts' and your icons are different.


Nope.....cus this is a mod package made by AlanS.   Not Aku's script.

bluedevil

Went to the error log and found this after you checked your profile Ro!


8: Undefined index: member
File: /home/midwesta/public_html/Themes/default/usercp.template.php (main sub template - eval?)
Line: 73

jacortina

RoarinRow is using my script implementation of Aku's straight HTML code. That is used in a TP article.

Alan S took a version of that and packaged it as a Custom Action page, I believe. That splits it into Source and Template.

But $context['member'][...] is wrong and is most likely what is causing the error. Change any of those in the code to $context['user'][...].

RoarinRow

Quote from: J.A.Cortina on March 20, 2007, 10:21:14 PM
RoarinRow is using my script implementation of Aku's straight HTML code. That is used in a TP article.

Alan S took a version of that and packaged it as a Custom Action page, I believe. That splits it into Source and Template.

But $context['member'][...] is wrong and is most likely what is causing the error. Change any of those in the code to $context['user'][...].

Yes, exactly it was your code I used last.  Thanks!

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

bluedevil

Quote from: J.A.Cortina on March 20, 2007, 10:21:14 PM
RoarinRow is using my script implementation of Aku's straight HTML code. That is used in a TP article.

Alan S took a version of that and packaged it as a Custom Action page, I believe. That splits it into Source and Template.

But $context['member'][...] is wrong and is most likely what is causing the error. Change any of those in the code to $context['user'][...].

WOW!  That did it. I tried my profile several times and no errors.  Thnx Cortina!!!

Here's line 79 changed:

<font face="Verdana" size="2"> <a href="', $scripturl, '?action=theme;sa=pick;u=', $context['user']['id'], ';sesc=', $context['session_id'], '"><b>My Theme</a><br>

Shadow

I like this mod very much all that.  I would like to install this mod back on the forum...

Shadow

I cant find this mod at the SMF Site at all

brianjw

SMF has taken a while to approve mods lately. I had to complain just to get my mod finally approved after 3-4 weeks of waiting. :-\

Shadow


This website is proudly hosted on Crocweb Cloud Website Hosting.