vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Chat Modifications - Flashchat: Integration for vB 3.7 (https://vborg.vbsupport.ru/showthread.php?t=166834)

Mrdby 07-09-2008 12:11 AM

I get this message when going to a members profile.

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Paul M 07-09-2008 02:02 AM

Then you have missed something.

Mrdby 07-09-2008 02:12 AM

like what? everything is uploaded.

Paul M 07-09-2008 10:36 AM

I cannot possible know what without ftp and admin access to your forum.

Meje 07-09-2008 11:55 AM

Hello!

I have installed this and it works well! Thank you!


I have one issue I would like to correct and that to do with the WOL part.

It shows up as:

But I really don't like that full path showing up and would much prefer it showed like all the others locations ie:
Quote:

In the Chat Room
Chat Room
With the second line a link to the chat room like all the others are listed in WOL.

I actually have th chat room set to open in a popup window, so would like to edit that link to behave like this.

I have done a search of the templates and ant seem to locate where I need to edit this. (maybe its just getting late!!)

Are you able to direct me to the place where I need to edit this please?

Paul M 07-09-2008 07:33 PM

You would need to edit the plugin "FlashChat Integration (5)"

jlew24asu 07-09-2008 07:40 PM

can i please see a demo or screen shot of this? thank you

Meje 07-09-2008 11:51 PM

Thanks Paul :D

Meje 07-10-2008 12:37 AM

OK, is there a reason I cant use the following code in that plug in? (or do I need to also edit something somewhere where else?)....maybe I left out something important?

Code:

if ($userinfo['activity'] == 'flashchat')
{
        $handled = true;
        $userinfo['action'] = $vbphrase['in_flashchat'];
        $userinfo['where'] = '<a href="/chat/flashchat.php" target="_blank" onclick="window.open('/chat/flashchat.php','','scrollbars=yes,width=650,height=570,left=100,top=50');return false;">The Chat Room</a>';
}




When I use it I get this error at the top of the WOL page when there is someone in the chat room:

Code:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/xxxx/public_html/includes/functions_online.php(1167) : eval()'d code on line 50


and the location looks like this:

Code:

Unknown Location
/chat/getxml.php


Paul M 07-10-2008 07:07 AM

You need to escape the single quotes in the window.open code (or make them double quotes).


All times are GMT. The time now is 01:51 PM.

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.01399 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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