| Author |
Message |
ripper

Joined: Apr 22, 2008
Posts: 5
|
Posted:
Tue Apr 22, 2008 12:15 pm |
|
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  |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Tue Apr 22, 2008 3:08 pm |
|
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 |
|
|
 |
ripper

Joined: Apr 22, 2008
Posts: 5
|
Posted:
Tue Apr 22, 2008 3:27 pm |
|
Ive looked at the block php , but i cant seem to make much sense of it lol |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Tue Apr 22, 2008 3:57 pm |
|
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 |
|
|
 |
ripper

Joined: Apr 22, 2008
Posts: 5
|
Posted:
Tue Apr 22, 2008 4:07 pm |
|
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&file=search&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&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&op=userinfo&username='.$row['username'].'" title="View Profile: '.$row['username'].'">'.$row['username'].'</a> |
Any help is appreciated from anyone  |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Tue Apr 22, 2008 8:40 pm |
|
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. |
| |
|
|
 |
ripper

Joined: Apr 22, 2008
Posts: 5
|
Posted:
Wed Apr 23, 2008 3:15 am |
|
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 |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Wed Apr 23, 2008 6:11 am |
|
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 |
|
|
 |
ripper

Joined: Apr 22, 2008
Posts: 5
|
Posted:
Fri Apr 25, 2008 12:44 pm |
|
its just a arcade module called game.php  |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Fri Apr 25, 2008 2:34 pm |
|
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&file=search&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 |
|
|
 |
trbhardcore

Joined: Jun 17, 2008
Posts: 10
|
Posted:
Tue Jun 17, 2008 5:39 pm |
|
*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 |
| |
|
|
 |
warren-the-ape

Joined: May 18, 2008
Posts: 12
|
Posted:
Wed Jun 18, 2008 2:32 pm |
|
| 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. |
| |
|
|
 |
trbhardcore

Joined: Jun 17, 2008
Posts: 10
|
Posted:
Wed Jun 18, 2008 2:38 pm |
|
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)  |
| |
|
|
 |
|
|