![]() |
Just a little hack.
My members ask me a better system for pm more easy to see so i create a little pop up with $pminfo inside and little refresh. In the install.txt you will have 2 templates to create but if you want to show the link only for registred users you need to do this. in global.php (root directory) find : PHP Code:
just after put Code:
if ($bbuserinfo[userid]!=0) { PHP Code:
and add $pm_link in forumhome template. Now only logged in or registred will see the link. for the rest instrcution in the zip. demo : click here not a big hack but useful. |
it's great!!but i got this message
Parse error: parse error in /home/jihchi/public_html/squawell/forums/vbb220/global.php on line 269 Fatal error: Call to undefined function: getpermissions() in /home/jihchi/public_html/squawell/forums/vbb220/index.php on line 10 what's wrong?? |
ok i have edit the code to insert in global.php with [php] tag the { is replace
so take this if ($bbuserinfo[userid]!=0) { eval("\$pm_link = \"".gettemplate("pm_link")."\";"); } |
demo or screenshot please??
|
there is a demo in the first post
|
Quote:
lol...oh geez, i completely missed that....thanks :) |
i got new problem~~
when i push PM reminder then it show up this message --- cann't find this page!! i think u miss a php file~~~pm.php!! or it may creat by myself?? |
thankz man~~~:D
i think it should be work!! |
new problem~~
when i push the link and it popup this window but u look backgroud why it show up that message?? and see red area i use ur pmnews_template.txt then it show that i think ur attach file need to check again~~~ |
oki this message is for refresh the page
i will see the english version of template now for the rest i don't understand what you mean |
All times are GMT. The time now is 08:58 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|