Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
Calling "Welcome Back" message from Remote Server... 80% done.. need help! Details »»
Calling "Welcome Back" message from Remote Server... 80% done.. need help!
Version: , by Noel 4 DMB Noel 4 DMB is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-29-2002 Last Update: Never Installs: 0
 
No support by the author.

Ok, on www.amidreaming.org I used PHP to include the welcome message at the top, and the online users. The only problem is now it won't recognize the cookie from www.ami-boards.com when its called up, and it goes straight to the unregistered welcome message. How can I correct this?

Show Your Support

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

Comments
  #2  
Old 07-29-2002, 12:15 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You cant read a cookie of domain X in domain Y. This neither vb nor PHP related. This is cookie rule fixed in user side therefore you cant pass it.

And if you think about it it's wise and nesessary. Otherwise admins could be able to get passwords and personal data of their visitors in other web sites. For example would you like me to get your vb.org cookie (thus your username and MD5ed password) when you visit my personal site?
Reply With Quote
  #3  
Old 07-29-2002, 12:53 PM
Noel 4 DMB Noel 4 DMB is offline
 
Join Date: Apr 2002
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, so then is there an alternative method to recognize that the person is logged in? I'm logged in automatically on ami-boards.com, and i thought that running the php on that server and calling it from amidreaming.org would make it so people are logged in on the actual website. would there be a java script or something that would accomplish this rather than using the php include that im using now?
Reply With Quote
  #4  
Old 07-29-2002, 02:00 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant think of an very easy way but if you are determined to apply this (and you are good at PHP and vb login algorithm), you can try this method:

Change the default vb login behaviour in ami-boards.com and when someone logins in that board, open 2 windows (1 window with 2 frames might work too) and assign relevant cookie in amidreaming.org too by triggering a custom script in amidreaming.org.

For example: When I login to vbulletin.com, vbulletin.com assigns me its cookie. But if programmed, it can also trigger a script in a say popup window (or frame) in vbulletin.org and make sure vbulletin.org will assign me its cookie as well. So when I visit vbulletin.org, you can read my cookie since its assigned by vbulletin.org.

Hope this helps a bit..
Reply With Quote
  #5  
Old 07-29-2002, 02:22 PM
Noel 4 DMB Noel 4 DMB is offline
 
Join Date: Apr 2002
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah hah, im following the logic. Is there anywhere I can go to follow a tutorial on how this is done? If you could point me in the right direction i'd appreciate it. My AIM name is Noel4DMB
Reply With Quote
Reply

Thread Tools

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:47 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.04381 seconds
  • Memory Usage 2,227KB
  • Queries Executed 18 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete