| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 7670|Reply: 3
Collapse the left

How to edit viewthread links

[Copy link]
Post time: 2013-08-20 23:48
| Show all posts |Read mode
Edited by mj1919 at 2013-8-21 00:56

Hello Friends
I want to edit a link in "viewthread_node.htm". In other word, when you click on avatar and user name of author of one post, you redirect to "personal info" tap of his/her space! (don't hesitate, do it, now, click on my avatar! )
ok, i think this link(above) is in the viewthread_node.htm.
after search in this file, we can see, below link, that redirects us to profile (personal info tab):
  1. home.php?mod=space&uid=$post[authorid]&do=profile
Copy the Code
this links are in lines 53,91.

now, we know what links must be changed!

ok, in web browser, url of space's home is (for admin, UID:1):
  1. home.php?mod=space&uid=1&do=index&view=admin
Copy the Code
if we want to convert this url to a functional link in viewthread_node.htm file, we must use below link.
  1.     /home.php?mod=space&[authorid]=1&do=index&view=[username]
Copy the Code
Final result:
after click on user name, and avatar of author of threds, you redirect to space's home (not personal info tab)
is this correct? please correct, if its not.




 Russia

Post time: 2013-08-21 09:59
| Show all posts
Your decision is wrong.
What to show after a click to the user avatar/name link is a SPECIAL SETTING in the adminCP.
 Author| Post time: 2013-08-21 11:06
| Show all posts
vot 2013-8-21 10:59
Your decision is wrong.
What to show after a click to the user avatar/name link is a SPECIAL SETTING ...

Thank you for reply.

nothing! that link not work properly , as my test on local host.

where is special setting?

 Author| Post time: 2013-08-22 15:40
| Show all posts
uppppp
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-10-06 02:43 GMT+3 , Processed in 0.046468 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list