Announcement

Collapse
No announcement yet.

vB Popup Messaging Utility v.0.1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • humble
    replied
    I followed the instructions perfectly, and what do you know... It WORKED perfectly!!!!

    Great addition to an already robust appliation. My hats off to you sir.

    Leave a comment:


  • Steve Machol
    replied
    Axelon,

    You need to upgrade to version 2.0.3. The version you are running has a serious security hole. You can download the latest version in the Member's Area.

    Also, could you please enter your vB license info into your user profile? See my sig for details. Thanks!

    Leave a comment:


  • Axelon
    replied
    two error

    i use vbulletin 2.0.0

    i install your script and its works but when i call popupmsginstall.php in the bottom appear this error :

    Fatal error: Failed opening required '' in ./global.php on line 45



    In the admin CP when i send a message appear this error :

    Warning: Variable $numof is not an array or string in /home/sites/site57/web/forumprova/admin/adminpopupmsg.php on line 116


    what is it???

    Thanks

    Leave a comment:


  • veedee
    replied
    guess whats next on my install list !!!

    Leave a comment:


  • Kengan
    replied
    Very useful hack !! Thanks man !! good work !!

    Leave a comment:


  • dxb
    replied
    waaw I'm just a bug squasher ...I'll be waiting for your update

    Leave a comment:


  • FreshFroot
    replied
    Great hack...

    I installed it 2 hours ago and have already put it to use! We love it!

    Leave a comment:


  • dxb
    replied
    thanks s.molinari for this great hack ..it works like a charm for me ... I have only one problem

    let say I have these users

    josh
    josh1


    and I want to send the message to josh ....it will send it to josh1 first then it will ask me to continue

    that means all the other users will get the message which I dont wont to ...

    now is there is a way of giving a choice not to send the message to the other users except the one I want



    I hope you got what I mean
    Last edited by dxb; Tue 28 Aug '01, 12:55pm.

    Leave a comment:


  • Operations
    replied
    Oh Boy... ok
    my settings are

    [code]1544 -1 head_newmsg <script language="JavaScript"> alert_box=alert("$bbtitle Messaging\n\n$popmessage\n"); </script> [code]


    Code:
    $checkmessages = "1";
    Code:
    </style> $headnewmsg $headnewpm<font color="#6F6660"></font
    i can only tell u that because molinari makes the hack.. i just try to help...

    Leave a comment:


  • Lordmusic
    replied
    Ok, well problem, ".addslashes($template)." in template -1 is from a template that is not used or visible at all. Hence it should have no effect on the outcome of any of this. What else could be wrong.

    Leave a comment:


  • Operations
    replied
    Try to enter
    Code:
    <script language="JavaScript"> aler 
    t_box=alert("$bbtitle Messaging\n\n$popmessage\n"); 
    </script>
    in the Template instead of
    Code:
    ".addslashes($template)."
    because more than malfunction like now is impossible..

    You can do it directly in the myadmin or in the p..

    Leave a comment:


  • Lordmusic
    replied
    Just tell me exactly what to do please, I am illiterate with this stuff, I am somewhat of a hardware guy more than a programmer.

    Leave a comment:


  • Operations
    replied
    If iam right Molinari means you shold use a template like
    | 6223 | 1 | head_newmsg | <script language="JavaScript"> aler
    t_box=alert("$bbtitle Messaging\n\n$popmessage\n");
    </script> |

    //your other templates //

    instead of .addslashes

    Leave a comment:


  • Lordmusic
    replied
    But that is the default template as u said. I have 5 different layouts/colors and that is it. And yes I am using IE. And if that was my problem how do I fix it.

    Leave a comment:


  • Lordmusic
    replied
    | 6222 | -1 | head_newmsg | ".addslashes($template)."
    |
    | 6223 | 1 | head_newmsg | <script language="JavaScript"> aler
    t_box=alert("$bbtitle Messaging\n\n$popmessage\n");
    </script> |
    | 6224 | 6 | head_newmsg | <script language="JavaScript"> aler
    t_box=alert("$bbtitle Messaging\n\n$popmessage\n");
    </script> |
    | 6226 | 7 | head_newmsg | <script language="JavaScript"> aler
    t_box=alert("$bbtitle Messaging\n\n$popmessage\n");
    </script> |
    | 6227 | 8 | head_newmsg | <script language="JavaScript"> aler
    t_box=alert("$bbtitle Messaging\n\n$popmessage\n");
    </script> |
    | 6225 | 9 | head_newmsg | <script language="JavaScript"> aler
    t_box=alert("$bbtitle Messaging\n\n$popmessage\n");
    </script> |
    +------------+---------------+-------------+------------------------------------
    ----------------------------------------------------------------+
    6 rows in set (0.01 sec)
    _________________________________________

    $WOLenable = "1";
    $WOLguests = "1";
    $WOLresolve = "1";
    $WOLrefresh = "60";
    $allowimgsizefailure = "0";
    $allowvbcodebuttons = "1";
    $memberAllGood = "1";
    $checkmessages = "1";
    _________________________________________

    a.pageNum:hover {color: #ffffff; background-color: #a0a0a0;}
    </style>

    $headnewmsg
    $headnewpm |
    ________________________________________
    In Global.php base directory, not admin...

    $newpmmsg=0;
    $headnewpm='';
    if ($checknewpm and $bbuserinfo['userid']!=0 and $bbuserinfo['pmpopup']==2) {
    if ($noshutdownfunc) {
    $DB_site->query("UPDATE user SET pmpopup=1 WHERE userid=$bbuserinfo[userid]");
    } else {
    $shutdownqueries[]="UPDATE LOW_PRIORITY user SET pmpopup=1 WHERE userid=$bbuserinfo[userid]";
    }
    $newpmmsg=1;
    eval("\$headnewpm = \"".gettemplate('head_newpm')."\";");
    }
    if ($checkmessages and $bbuserinfo['userid']!=0 and $bbuserinfo['messagepopup']==2) {
    $popupmessages = $DB_site->query("SELECT * FROM popupmsgs WHERE userid=$bbuserinfo[userid] ORDER BY nummessages DESC");
    while ($popmsg = $DB_site->fetch_array($popupmessages)) {
    $popmessage .= "Von:$popmsg[sender]\n";
    $popmessage .= "Nachricht:$popmsg[message]\n\n";
    $DB_site->query("DELETE FROM popupmsgs WHERE nummessages=$popmsg[nummessages] AND userid=$bbuserinfo[userid]");
    }
    $DB_site->query("UPDATE user SET messagepopup=1 WHERE userid=$bbuserinfo[userid]");
    eval("\$headnewmsg = \"".gettemplate('head_newmsg')."\";");
    }
    $header='';
    $footer='';
    ___________________________________

    Weird isn't it...
    Last edited by Lordmusic; Sat 25 Aug '01, 11:27pm.

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X