Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
ripper




Joined: Apr 22, 2008
Posts: 5

PostPosted: Tue Apr 22, 2008 12:15 pm
Reply with quote

Hi ,

I have installed your info block and must admit its a nice addition

I do howeve have a few questions on how to alter it a little

Firstly when you click on the "your forum posts" it of course take you to the forum , my problem is i dont use my forum but do have a arcade installed , is it possible to have the link changed to "my arcade" and link to their ?

Secondly , on a similar note , i have a personals installed and i modified it to a better profile so is there a way for me to alter that so it links to the personal's profile

Many thanks for you time Smile
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Tue Apr 22, 2008 3:08 pm
Reply with quote

Yes I should imagine that should be quite easy to do.
You would need to look at the way the existng links are built and then modify the variables accordingly. If the links need to go to another module, for example a 'Profiles' module then you would need to build the relevant sql look up.

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
ripper




Joined: Apr 22, 2008
Posts: 5

PostPosted: Tue Apr 22, 2008 3:27 pm
Reply with quote

Ive looked at the block php , but i cant seem to make much sense of it lol
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Tue Apr 22, 2008 3:57 pm
Reply with quote

In that case you may have to get someone to customise the code for your needs which, of course may not be free.
I do not and never have used those mods you described so I'm not even going to be able to give you any rough examples, sorry.

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
ripper




Joined: Apr 22, 2008
Posts: 5

PostPosted: Tue Apr 22, 2008 4:07 pm
Reply with quote

so does it matter what the mod is , i presumed that the block just linked to that page .


This is the line i think needs changing for the forum to games ..


Code:
 $content .= '<a href="modules.php?name=Forums&amp;file=search&amp;search_id=egosearch" style="text-decoration: none" title="View Your Forum Posts"><img src="images/info/your_posts.png" alt="" style="border: 0px;"> <strong>Your Forum Posts</strong></a><br />';


I think this is the line that when logged in sends you to the nuke profile page ..


Code:
<input type="button" onclick="parent.location=\'modules.php?name=Your_Account&amp;op=new_user\'" name="'. _BREG .'" title="'. _BREG .'" value="'. _BREG .'" />



And i think this is the line that sends you to the nuke profile when you click on a name ....

Code:
<img src="images/info/member_new.png" alt=""> <a href="modules.php?name=Your_Account&amp;op=userinfo&amp;username='.$row['username'].'" title="View Profile: '.$row['username'].'">'.$row['username'].'</a>





Any help is appreciated from anyone Smile
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Apr 22, 2008 8:40 pm
Reply with quote

You are on the right track, the first and third links are what you will want to change. The second one is actually for registration.
 
View user's profile Send private message Visit poster's website
ripper




Joined: Apr 22, 2008
Posts: 5

PostPosted: Wed Apr 23, 2008 3:15 am
Reply with quote

Any idea which part of the string i need to change Gotcha ?


I changed the bit that says forum.php to games.php but it still went to the forum


Ill take another look for the 2nd string
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Wed Apr 23, 2008 6:11 am
Reply with quote

Perhaps if you can show how your games links are built or a link to your site, it might be useful.

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
ripper




Joined: Apr 22, 2008
Posts: 5

PostPosted: Fri Apr 25, 2008 12:44 pm
Reply with quote

its just a arcade module called game.php Confused
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Fri Apr 25, 2008 2:34 pm
Reply with quote

It depends where you game.php file is located which is why I asked for clarification.
You could change
Code:
$content .= '<a href="modules.php?name=Forums&amp;file=search&amp;search_id=egosearch" style="text-decoration: none" title="View Your Forum Posts"><img src="images/info/your_posts.png" alt="" style="border: 0px;"> <strong>Your Forum Posts</strong></a><br />';

to
Code:
$content .= '<a href="game.php" style="text-decoration: none" title="Arcade"><img src="images/info/your_posts.png" alt="" style="border: 0px;"> <strong>Your Arcade</strong></a><br />';

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
trbhardcore




Joined: Jun 17, 2008
Posts: 10

PostPosted: Tue Jun 17, 2008 5:39 pm
Reply with quote

*UPDATE*
So it appears my godaddy account is still undergoing updates and is still "pending" which means that my changes may not be getting updated....this may be the cause...

Sorry....another newb question...

I downloaded and uploaded this, however, when I go to block admin to create a new block using this file....it is not in the dropdown list....is this a problem with the dropdown only displaying a certain number of items...or have I done something wrong?>?

Thanks!


~Hardy
 
View user's profile Send private message
warren-the-ape




Joined: May 18, 2008
Posts: 12

PostPosted: Wed Jun 18, 2008 2:32 pm
Reply with quote

trbhardcore wrote:
I downloaded and uploaded this, however, when I go to block admin to create a new block using this file....it is not in the dropdown list....is this a problem with the dropdown only displaying a certain number of items...or have I done something wrong?>?


You probably installed it in the wrong location or directory. Make sure you upload it to your *nuke root/blocks directory, and don't rename the file.
 
View user's profile Send private message
trbhardcore




Joined: Jun 17, 2008
Posts: 10

PostPosted: Wed Jun 18, 2008 2:38 pm
Reply with quote

It was because I was applying some global upgrades to the webserver....all the changes I made were not recognized until the process was complete....

It is working now (kinda) Smile
 
View user's profile Send private message
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
You cannot attach files in this forum
You cannot download files in this forum


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