MyBB Community Forums

Full Version: Portal.php !! // and replink
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey there,

What is the goal of making ht portal.php ?

also one more question, in the postbit , we can find the $post[userstars]$post[usertitle , $post[userregdate] and also we can find $post[replink]

ok then replink means reputation link right ?
from where i can access to replink and change that link over there coz i dont wanna use the link used now.

I;m talking about Alternative Reputation System for PR2

Manythanks Big Grin
What the goal is with the portal system? To have options to use it?

Look inside inc\functions_post.php
$post['neglink'] = "<a href=\"javascript:reputation(".$post['pid'].", 'n');\"><img src=\"".$theme['imgdir']."/rep_neg.gif\" border=\"0\"></a>";
$post['poslink'] = "<a href=\"javascript:reputation(".$post['pid'].", 'p');\"><img src=\"".$theme['imgdir']."/rep_pos.gif\" border=\"0\"></a>";
how !! ??

what to change in that code Confused i dont see anything related to what i askedConfused

helppppppppppppppppToungue
In the postbit template, if you remove $post[replink], the link won't be displayed then.
hey

well dennis umm removing the $post[replink] will make make the reputation number unclickable ?? or what,

or you think it will removed the giving reputation link, and instead when u click u will go to the details page ??

coz i need that thing to be clickable , so that they can go to the details page

many thxBig Grin
Well I pointed you in the right direction.
Go to jscripts-> general.js
function reputation(pid, type) {
	popupWin("reputation.php?pid=" + pid + "&type=" + type, "reputation", 400, 300)
}
There you can change it.