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
  #62  
Old 06-07-2004, 12:50 PM
boydekort boydekort is offline
 
Join Date: Jun 2003
Location: geleen nl
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the addition TCS

[edit]got a problem with the smilies seems is the thumbnails are to big they wont be seen I mean above 20*20 seems not to be shown.

anyway of fixing that marging ?
because most of my nice ones are around 25*30[edit]
Reply With Quote
  #63  
Old 06-07-2004, 12:58 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when this is translated to all english, and workin correctly i will install
Reply With Quote
  #64  
Old 06-07-2004, 04:51 PM
PcFreak's Avatar
PcFreak PcFreak is offline
 
Join Date: May 2003
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have update the zip.file to fix a little bug.

Read first post

Thank you
PcFreak
Reply With Quote
  #65  
Old 06-07-2004, 06:36 PM
boydekort boydekort is offline
 
Join Date: Jun 2003
Location: geleen nl
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pcfreak did that include the thumbnail error ?
Reply With Quote
  #66  
Old 06-07-2004, 10:56 PM
tcs's Avatar
tcs tcs is offline
 
Join Date: Jun 2002
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For anyone that does not wish to re-type and hunt the smiles for the english version you can insert this code.

These are the basic vBulletin 11 smiles included with your zip file.

Replace the ones in the templates with this code.

Code:
<!--#### Smilie part Start ###-->
	
&nbsp;
<img src="/forums/images/smilies/smile.gif" border="0" onclick="document.getElementById('nachricht').value += ' :) '">	
<img src="/forums/images/smilies/wink.gif" border="0" onclick="document.getElementById('nachricht').value += ' ;) '">	
<img src="/forums/images/smilies/mad.gif" border="0" onclick="document.getElementById('nachricht').value += ' :mad: '">
<br>
&nbsp;
<img src="/forums/images/smilies/cool.gif" border="0" onclick="document.getElementById('nachricht').value += ' :cool: '">	
<img src="/forums/images/smilies/biggrin.gif" border="0" onclick="document.getElementById('nachricht').value += ' :D: '">	
<img src="/forums/images/smilies/eek.gif" border="0" onclick="document.getElementById('nachricht').value += ' :eek: '">
<br>
&nbsp;
<img src="/forums/images/smilies/confused.gif" border="0" onclick="document.getElementById('nachricht').value += ' :confused: '">	
<img src="/forums/images/smilies/frown.gif" border="0" onclick="document.getElementById('nachricht').value += ' :( '">	
<img src="/forums/images/smilies/redface.gif" border="0" onclick="document.getElementById('nachricht').value += ' :o '">
<br>
&nbsp;
<img src="/forums/images/smilies/tongue.gif" border="0" onclick="document.getElementById('nachricht').value += ' :p '">
<img src="/forums/images/smilies/rolleyes.gif" border="0" onclick="document.getElementById('nachricht').value += ' :rolleyes: '">
<br>
&nbsp;

<!--#### Smilie part Stop ###-->
Reply With Quote
  #67  
Old 06-07-2004, 10:59 PM
tcs's Avatar
tcs tcs is offline
 
Join Date: Jun 2002
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by killervette
I have VBindex, how can I change the online users on it to link to the SMS system?

I don't use vbindex but I would guess it has it's own template for the active users. You might ask them how to incorperate this code in to there portal.

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[musername] an SMS message?" href="sms.php?do=sms&userid=$loggedin[userid]">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]</a
Reply With Quote
  #68  
Old 06-07-2004, 11:08 PM
PcFreak's Avatar
PcFreak PcFreak is offline
 
Join Date: May 2003
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #69  
Old 06-08-2004, 06:35 AM
will_lean will_lean is offline
 
Join Date: Apr 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im using vbadvanced and i didnt need to change anything for the online users link to popup the sms window.
very nice! :banana:
Reply With Quote
  #70  
Old 07-05-2004, 07:22 PM
InnerSelf InnerSelf is offline
 
Join Date: Jun 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works like a charm on my board but i see on weird thing coming back.

i did the template modefication


Code:
Step 1)

To get new sms on each page
put this code in you phpinclude_end template:


include("./includes/functions_sms.php");
and after that the window after i send a message is not closing anymore by itself. any suggestions?
Reply With Quote
  #71  
Old 07-17-2004, 07:10 PM
BarHopper BarHopper is offline
 
Join Date: Mar 2003
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The window pops up, but its a blank white screen. is this a common problem? What do you think it could be?
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:33 AM.


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.06088 seconds
  • Memory Usage 2,326KB
  • 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
  • (2)bbcode_code
  • (3)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