Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
At-lantis SMS System Version 1.02 (Instant Messenger for vB3) Details »»
At-lantis SMS System Version 1.02 (Instant Messenger for vB3)
Version: 1.00, by PcFreak PcFreak is offline
Developer Last Online: Mar 2015 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 05-29-2004 Last Update: Never Installs: 38
 
No support by the author.

First.
I have written this hack in german and translate him with bablefish. :speechless:
So be gentle to me, because my dreadful english.

What does this hack do?

With this hack it?s possible sent little messages to other online users in realtime.

The messages would be open in a new small PopUp window when the sms receiver refresh any page.

SMS are not save in the database. Just unread sms are saved. They are automatically delete when the PopUp for a new SMS open.

Files to edit

- profilphp

- edit templates
forumhome_loggedinuser, USERCP_SHELL

Five new templates (in the zip.file)

Two new php files

One new database table
One new database field

The hack is in german and english
have fun
PcFreak


Update Version 1.02 7.6 19:40
Update the zip.file to fix a little bug
Thanks go to Mystics from vBulletin Germany

For the others whitch install this hack
replace the full code in the template forumhome_loggedinuser with
PHP Code:
<a onClick="window.open('sms.php?do=sms&amp;userid=$loggedin[userid]','_blank','toolbar=no,location=no,menubar=no,width=550,height=300,resizeable=no,status=no');return false" target="_blank" title="Send a sms to $loggedin[username] ?" href="sms.php?do=sms&userid=$loggedin[userid]">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]</a


Mods:
Show an SMS icon next to YIM icon when you view the Who is Online page
Credit go to mtha

And please click install, if you used this hack

Thank you.

A demo you can find on my homepage: http://at-lantis.de
Name: testuser
Pass: test

Show Your Support

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

Comments
  #92  
Old 10-05-2004, 02:27 PM
platnum platnum is offline
 
Join Date: Apr 2004
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did that bro... They still have to go into there account an enable it ... Unless someone new signs up, then it's set on yes for them
Reply With Quote
  #93  
Old 10-28-2004, 06:10 PM
Nordinho Nordinho is offline
 
Join Date: Aug 2004
Location: Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be possible to include smilies in the message box??

greets,
Reply With Quote
  #94  
Old 11-08-2004, 06:36 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got is installed and working, disabled the error reporting, but when someone try to log in with the wrong info, I get this error database message

Invalid SQL:
SELECT id_vom_empfaenger
FROM sms
WHERE id_vom_empfaenger = mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3

mysql error number: 1064

error was from login.php
reported by showthread
Reply With Quote
  #95  
Old 11-09-2004, 02:05 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I fixed that error. It is coming from people trying to login in without a username or password. So I wrapped the entire function_sms with

if ($bbuserinfo[username] && $bbuserinfo[userid])
{

function goes here

}

Now, I'd like to know if there is a way to make the postbit image display only when user is online?
Reply With Quote
  #96  
Old 11-11-2004, 09:09 PM
deepdark's Avatar
deepdark deepdark is offline
 
Join Date: Dec 2001
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have a vbindex and this code is going? on some file or some template any help???

Quote:
Originally Posted by PcFreak
PHP Code:
<a onClick="window.open('sms.php?do=sms&amp;userid=$loggedin[userid]','_blank','toolbar=no,location=no,menubar=no,width=550,height=300,resizeable=no  ,status=no');return false" target="_blank" title="Send  $loggedin[username] an SMS message?" href="sms.php?do=sms&userid=$loggedin[userid]">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]</a
This code is better.
With the first var $loggedin[musername] you can get problems, because this var of username is with all formats (HTML, Color ect..), so is better use $loggedin[username] in the code.

The second var with $loggedin[musername] is OK.

PcFreak
Reply With Quote
  #97  
Old 11-19-2004, 12:06 PM
mahiraminc mahiraminc is offline
 
Join Date: Nov 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't want the popup to be any more than 250 px in height and 300 pix in width.

By default the window size on the browsers IE and Netscape is 300 x 300.

How do I go about fixing this? I already tried putting in the values in window.open link... and the window opens at 300x300.

Even if I can live with that... but when I receive a message, it opens in a different size? Not 300X300.. Where do I modify the code to open a window in 300x300 when person receives a message?

Thanks.
Reply With Quote
  #98  
Old 01-01-2005, 12:05 AM
ambrosious ambrosious is offline
 
Join Date: Jun 2004
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How or where can I turn it on? I get this message...

JoePublic. You don't have permission or
has deactivated their Adult Adventurers Pager
Reply With Quote
  #99  
Old 01-02-2005, 01:33 AM
ambrosious ambrosious is offline
 
Join Date: Jun 2004
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anybody have any ideas?
Reply With Quote
  #100  
Old 01-23-2005, 03:36 AM
aranthorn's Avatar
aranthorn aranthorn is offline
 
Join Date: Jun 2004
Location: Chicago
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone supporting this hack anymore?
Reply With Quote
  #101  
Old 02-19-2005, 12:20 AM
duncan99 duncan99 is offline
 
Join Date: Feb 2003
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those need to run a query for the old users :

Code:
UPDATE userfield SET fieldxx='Yes';
change xx to the number of your field.

This would set all default to yes.
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 02:30 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.04732 seconds
  • Memory Usage 2,318KB
  • 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_code
  • (2)bbcode_php
  • (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
  • (4)pagenav_pagelink
  • (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