Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Simple pager / sms / instant message system... Details »»
Simple pager / sms / instant message system...
Version: 1.00, by mini2 mini2 is offline
Developer Last Online: Oct 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 10-12-2005 Last Update: 10-22-2005 Installs: 47
 
No support by the author.

Gone

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-13-2005, 10:35 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice.

you can do few things:

-create a "setting" for sms_field in vBoptions, and use something like

$pager_status = $db->query_first("SELECT " . $vbsetting['sms_field'] . " AS status FROM " . TABLE_PREFIX . "userfield WHERE userfield.userid = $buddy[userid]");

in your plugins and your sms.php
Reply With Quote
  #13  
Old 10-16-2005, 03:55 AM
cd1986 cd1986 is offline
 
Join Date: Sep 2005
Location: UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just tried installing this mod, but keep getting this error whenever i try to test it out using the icon. Probably something obvious i've missed, but since it's nearly 6am i was hoping someone might be able to tell me a possible cause?

Database error in vBulletin 3.5.0:

Invalid SQL:

SELECT user.usergroupid as usergroupid, userfield.userid, userfield.field5 as pageron
FROM vb3_userfield LEFT JOIN user ON (user.userid = userfield.userid)
WHERE userfield.userid = 1 AND user.usergroupid NOT IN (1,2,3,8);

MySQL Error : Table 'cd19861.user' doesn't exist
Error Number : 1146
Reply With Quote
  #14  
Old 10-16-2005, 01:16 PM
cd1986 cd1986 is offline
 
Join Date: Sep 2005
Location: UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, field number is correct, and i went over all the steps again and all seemed ok. Only thing was that in step 8 it says "put $sms_scripthead under the <body> tag" but there is no <body> tag in the header template that i can see...
Reply With Quote
  #15  
Old 10-16-2005, 01:55 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The timeoffset is not correct. On the forum itself it is but in sms not.
Reply With Quote
  #16  
Old 10-16-2005, 02:02 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The time displayed for all members is - 2 hours
Reply With Quote
  #17  
Old 10-16-2005, 02:42 PM
cd1986 cd1986 is offline
 
Join Date: Sep 2005
Location: UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mini2
Try this new version of sms.php
Still get the same error...seems to recognise the user table as simply "user" rather than "vb3_user" and so can't find it.
Reply With Quote
  #18  
Old 10-16-2005, 05:29 PM
cd1986 cd1986 is offline
 
Join Date: Sep 2005
Location: UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, tried the new sms.php version which solved the initial error...but created a new one!

Invalid SQL:

SELECT vb3_user.usergroupid as usergroupid, userfield.userid, userfield.field5 as pageron
FROM vb3_userfield LEFT JOIN vb3_user ON (user.userid = userfield.userid)
WHERE userfield.userid = 1 AND user.usergroupid NOT IN (1,2,3,8);

MySQL Error : Unknown table 'userfield' in field list
Error Number : 1109
Reply With Quote
  #19  
Old 10-16-2005, 08:03 PM
cd1986 cd1986 is offline
 
Join Date: Sep 2005
Location: UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Had to add a couple of extra table prefixes, but it now works! Well, at least it lets me send a message without error, but i can't receive one, even though both members have the pager system enabled. :ermm:
Reply With Quote
  #20  
Old 10-17-2005, 03:15 PM
cd1986 cd1986 is offline
 
Join Date: Sep 2005
Location: UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome it works! Thanks, looks like a great add-on hack.

I've attached the sms.php that worked for me, although it uses vb3_ instead of TABLE_PREFIX (it was the easiest way for me to check where the prefixes needed adding) so i guess those would need to be converted back for generic use!
Reply With Quote
  #21  
Old 10-17-2005, 04:23 PM
cd1986 cd1986 is offline
 
Join Date: Sep 2005
Location: UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just one thing...is there anyway to set the pager system up so no refresh or moving to another page is required to receive a message...or is there no way around that?
Reply With Quote
Reply


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 09:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06764 seconds
  • Memory Usage 2,299KB
  • Queries Executed 25 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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