![]() |
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 |
new zip with us and french version.
|
What I meant was that when I clicked on the link, a new window does open. However, the background changes to one in which the page could not be found. Also, if I clicked to enter the private message , there is no scroll bar. The window is fixed and cannot be adjusted. Why? It's strange....
forgive my poor english!! and it clear now?? |
oki i update the zip.
for the Private message link it's ok for the rest you mean the pop up with ok for open your private message area or cancel for nothing ? |
Quote:
it should be have scroll bar to move up or down but it still the popup window size cann't adjusted.see red area! no scroll bar and cann't adjust!! |
no
the the pop up don't need to be resized because only the pminfo will be in this. i can test your installation if you want create a test account and i will see :) |
u mean this hack just only let u know u got how much pm's info
not usually we use that way!! is that ur mean~~ ok i can creat a account but can u see chinese word?? because i'm chinese!!i make a chinese forum~ |
this hacks allow people to have a little pop up with pm info with a refresh of 60 secondes or by clicking to the link.
If pop up box when receive a pm is enable you will have the box that say "you have a new pm etc" i made this for members who like to use only pm when they are busy so they did their works and just use pm. i can see chinese words :) |
ok i have the prob.
vb put space between java and script in my insctruction so put off the space and everything would be ok |
oh~~~
that's why i cann't work reason~~~ ok~~i fixed it!! and it look great~~ thankz ur help~~~:D |
no prob
hard to release a hack if one thing change when posting :D |
All times are GMT. The time now is 01:02 PM. |
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:
|