Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #21  
Old 08-16-2001, 05:07 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by Mobile
that better
Reply With Quote
  #22  
Old 08-16-2001, 05:29 PM
Mobile Mobile is offline
 
Join Date: Oct 2001
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nothing
Reply With Quote
  #23  
Old 08-16-2001, 05:32 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #24  
Old 08-16-2001, 05:46 PM
Mobile Mobile is offline
 
Join Date: Oct 2001
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, i'll reply later m8.
Gotta go work
Reply With Quote
  #25  
Old 08-16-2001, 06:07 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just out of curiousity, why do you have this warning for people entering your site?

Quote:
! If you are affiliated with any government, or ANTI-Piracy group or any other related group or were formally a worker of one you can NOT enter this web site, cannot access any of its files and you cannot view any of the HTML files.
Reply With Quote
  #26  
Old 08-18-2001, 05:52 AM
danielillo danielillo is offline
 
Join Date: Oct 2001
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #27  
Old 08-18-2001, 06:56 AM
Znaper Znaper is offline
 
Join Date: Oct 2001
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 08-18-2001, 09:52 AM
water water is offline
 
Join Date: Oct 2001
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would it be possible to implement this for admins only for new post in specific forums?

:water
Reply With Quote
  #29  
Old 08-18-2001, 10:26 AM
Znaper Znaper is offline
 
Join Date: Oct 2001
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I have time, then I code this for the Forums.
Reply With Quote
  #30  
Old 08-19-2001, 01:49 PM
Chexbox
Guest
 
Posts: n/a
Default

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 don't have a way to test that out, but I think it should work.
I know a lot of HTML
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:16 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
  • Page Generation 0.12412 seconds
  • Memory Usage 2,240KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete