Profilelink template modification
#1
I was wondering if there was a way to remove the link but keep the formatting of the username in the post bit

see below

[Image: 2m5kf69qpay0199uwb7g.jpg]


i know it has something to do with the profile link portion in potbit author user

see here

[Image: 15syn0d5eyysfgsrsoj.jpg]

i also know i may have to do some modifications in the functions_post.php

please help me out and detail what i have to edit where...

thanks in advance
[Image: darkmew.png]

Feel free to PM me if you have any issues with the community. Big Grin
#2
In inc/functions_post.php, find:
$post['profilelink'] = "<a href=\"".str_replace("{uid}", $post['uid'], PROFILE_URL)."\">".format_name($post['username'], $post['usergroup'], $post['displaygroup'])."</a>";
Replace with:
$post['profilelink'] = format_name($post['username'], $post['usergroup'], $post['displaygroup']);
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#3
thanks bro worked like a charm.....i needed it for a major modification i am working on.....

hopefully people here will like it.....
[Image: darkmew.png]

Feel free to PM me if you have any issues with the community. Big Grin


Forum Jump:


Users browsing this thread: 1 Guest(s)