PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Guillius
Hangin' Around


Joined: Jan 31, 2004
Posts: 31

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

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.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14946
Location: Kansas

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

Did you ever get an answer to this?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Guillius
Hangin' Around


Joined: Jan 31, 2004
Posts: 31

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

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
View user's profile Send private message
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 Back to top

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>
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum