IPB

ISO Image Creator

Welcome Guest ( Log In | Register )

> Links user cp mod help
mjaves
post Mar 30 2003, 11:10 AM
Post #1


Helpful Member
Group Icon

Group: Members
Posts: 54
Joined: 4-March 03
From: Margete, Kent, United Kindom
Member No.: 165
 United Kingdom


Hi bfarber I've been playing with the code below which I have got working in the profile but can't get it to display a value in the user cp

You'll need to add a new field to the members table called links with the same values as downloads

lang_ucp.php

CODE
links_add                                                    => "Your Link Submissions",


skin_ucp.php
CODE
<tr>
               <td width="40%">{$ibforums->lang['links_add']}</td>
               <td width="60%">{$member[links]}</td>
             </tr>


usercp.php
CODE
//micks links script
               if ($this->member['links'] != "0")

                    {
                        $info['links'] = $this->member['links'];
                     }

                  else

                   {
                        $info['links'] = " <i>None Submitted</i>";
                   }
               //end micks links script


This has been add below the downloads script
hope you can see what I've done and you can view the working bit by viewing my profile but only members can view the user cp (you allready know that)
Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd May 2012 - 01:36 AM

  Page top

Webber Enhanced skin created by Im4eversmart of RuneHQ.

  Privacy Policy 1 2 3 4 5

IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here