vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   At-lantis SMS System Version 1.02 (Instant Messenger for vB3) (https://vborg.vbsupport.ru/showthread.php?t=65669)

PcFreak 05-29-2004 10:00 PM

At-lantis SMS System Version 1.02 (Instant Messenger for vB3)
 
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

Intex 05-30-2004 08:46 PM

Sounds interesting PCFreak. What would be the benefits of this over using, for example a private message (+ popups) or for people that have chat integrated.

Good job :).

PcFreak 05-30-2004 09:11 PM

You don?t need a chat.

With this sms system you can directly send messages to other online users.
It?s quicker then the pm funktion. It like a chat, but private and just for two persons ;).

And but not least.
Makes a lot of fun

PcFreak

NuclioN 05-30-2004 09:19 PM

Installed but....how to send a sms?

--edit--

O, i see. The code for template forumhome_onlineuser is not good, it is displaying wierd. However the username can be clicked on and a sms can be send but no sms popsup. Test it by sending it to myself and also no popup. The settings in usercp are allowing popups.

PcFreak 05-30-2004 09:26 PM

Just click on a name on forumhome: "Currently Active Users"
(see my picture No 3 in this topic)

You must allowed PopUp?s for your domain (some Firewalls and PopUp stopper block PopUps)

PcFreak

//edit
You dont show the "Currently Active Users" on you forum :rolleyes:

GamerzWorld 05-30-2004 09:28 PM

Can someone edit the english instructions making them more clear

NuclioN 05-30-2004 09:33 PM

Quote:

Originally Posted by PcFreak
//edit
You dont show the "Currently Active Users" on you forum :rolleyes:

correct, for not registered members with a conditional but it should work with it. If this is working it's a great function :)

NuclioN 05-30-2004 09:36 PM

db error caused by the modified online.php. :( The instruction for that part is not clear enough i guess

--edit-- the wierd online text is most likely caused by the colored username from the ustore hack

PcFreak 05-30-2004 09:48 PM

Maybe this instruction txt is a little bit more clear.

For Users whose wan?t to see this SMS Funktion in action.
I have made a test account on my board.

Name: Testuser
Password: test

Feel free to check this funktion on my board. Send a SMS to yourself refresh the page and look what is happend. :)

PcFreak

Adress: http://at-lantis.de

NuclioN 05-30-2004 10:01 PM

Have it figured out now, it's working. :) It had to do with the table prefix. I'd to rename the table sms

Untill now we only can view sms answers by looking who's online. Is there something i've overlooked?


All times are GMT. The time now is 03:11 AM.

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.01210 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete