Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.2
Author Message
Guillius
Hangin' Around



Joined: Jan 31, 2004
Posts: 31

PostPosted: Tue Jun 08, 2004 1:13 am Reply with quote

I have been looking at the code and must admit I am unsure what I'm looking at Shocked

Problem #1 Here is what I'm trying to do. I have 7.2 nuke pure.. no patches etc... The only thing I am looking to do is on the Site User info block it lists the users "members" online at the bottom. I want that when I click on the name it takes me to their "profile" not their "account info".

What I've done? Looked at another site user info block from another distro that does that with the name but I get lost in the variables and sessid append etc.. (which I don't even know what they mean).

Problem #2 In nuke when something in the frontpage (news) says Submitted by XXXXX the XXXXX takes you to the users website (at least it seems that way). The way I use nuke no strangers ever post there so a lot of my members are saying to me... "Its weird I clicked on the name and expected to get a profile"

Is there any way to change that? Do I need to post my files or send them to someone that is willing to help me out? I usually hate asking straight out like this but I am clueless on how to change the links to point to profiles. If it helps (and I Hope its not spamming) here is my site addy.

http://www.defendersofthebalance.com
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Jun 21, 2004 6:50 am Reply with quote

Did you ever get an answer to this?
 
View user's profile Send private message
Guillius







PostPosted: Mon Jun 21, 2004 8:03 am Reply with quote

Nope... been meaning to "bump" this and also post the SQL error for the other post I have "about including the avatar on a block" but been out of state for couple of days... anyways, no... haven't resolved this yet Sad
 
GanjaUK
Life Cycles Becoming CPU Cycles



Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Mon Jun 21, 2004 12:03 pm Reply with quote

Guillius wrote:

Problem #2 In nuke when something in the frontpage (news) says Submitted by XXXXX the XXXXX takes you to the users website (at least it seems that way). The way I use nuke no strangers ever post there so a lot of my members are saying to me... "Its weird I clicked on the name and expected to get a profile"



For the username writes: bit on news on your front page. I have mine going to the main site profile when clicked.

/themes/YOUR_THEME/theme.php

Take a look at the Function themeindex() section.

Here is mine:
Code:


    if ("$aid" == "$informant") {
   $content = "$thetext$notes\n";
    } else {
   if($informant != "") {
       $content = "<A HREF=\"userinfo-$informant.html\">$informant</a> ";
   } else {
       $content = "$anonymous ";
   }
   $content .= ""._WRITES." \"$thetext\"$notes\n";


That would only work if you are using the googletap. You could change it to something like this if you are not using googletap:

Code:


<A HREF=\"modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a>

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.2

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©