PDA

View Full Version : pop up message


Skyline_GT
10-02-2003, 10:23 PM
I wonder is it possible to pop up a message box when the user has 0 posts, and it will stop pop up when the user has at least 1 post?
and I will be able to edit the message.
I am running vportal 3 with vb 2.2.9
Thanks.

Logician
10-03-2003, 09:43 AM
There is a hack (of Teck?) which displays "please register" box to the guests when they browse the board. If you change that hack a little bit, you can do so that box is displayed to users with 0 posts instead of guests..

Good part is: that box is DHTML not a popup so they can't be avoided with pop-up killers.

Skyline_GT
10-04-2003, 12:43 AM
where is it?
I can't find it..

Logician
10-04-2003, 09:50 AM
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=35277" target="_blank">https://vborg.vbsupport.ru/showt...threadid=35277</a>

Skyline_GT
10-05-2003, 04:39 AM
but I want a popup mesage when they have 0 post...
I dunno how to edit that hack..

Logician
10-06-2003, 09:21 AM
in hack code replace line

if ($bbuserinfo['userid']==0) {


as

if ($bbuserinfo['posts']==0) {

Skyline_GT
10-07-2003, 05:58 AM
Thanks a bunch