The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
[QUOTE]Originally posted by Mobile
that better |
#22
|
|||
|
|||
nothing
|
#23
|
||||
|
||||
Hmmm.....all I can suggest is that you're not entering a valid customer number and password. Can you use those same things to get into the Members Area?
|
#24
|
|||
|
|||
yes, i'll reply later m8.
Gotta go work |
#25
|
||||
|
||||
Just out of curiousity, why do you have this warning for people entering your site?
Quote:
|
#26
|
|||
|
|||
Znaper, I've tried your hack in my forum, but if someone reads the PM and returns to main page, the .wav sounds again.
The unic way to disable it is mark all forums read just exiting Private Message Forum, and this is a little bit annoying. Can we use the $pmsound variable just at the beggining of Head_newpm like: Code:
<script language="JavaScript"> <!-- function confirm_newpm() { $pmsound input_box=confirm(" Excuse my English and my "code", but I've never written PHP code (I think It's gonna be obvious) |
#27
|
|||
|
|||
Ok im fixed this BUG!
The Sound plays so long, till you read the message! Search for the fowling code into your index.php: Code:
$newpm=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] AND dateline>$bbuserinfo[lastvisit] AND folderid=0"); And replace it with this code: Code:
$newpm=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] AND dateline>$bbuserinfo[lastvisit] AND messageread=0 AND folderid=0"); When you have read the message, the sound and the light bulb goes off. |
#28
|
|||
|
|||
would it be possible to implement this for admins only for new post in specific forums?
:water |
#29
|
|||
|
|||
When I have time, then I code this for the Forums.
|
#30
|
|||
|
|||
I think this would be more compatible with most browser versions:
Code:
if ($newpm['messages']==0) { $pmsound = ""; $lightbulb='off'; } else { $pmsound = "<embed src=\"gotmail.wav\" autostart=true hidden=true></embed><noembed><bgsound src=\"gotmail.wav\" border=0></noembed>"; $lightbulb='on'; } I know a lot of HTML |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|