vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Chat Modifications - EzIRC Chat (https://vborg.vbsupport.ru/showthread.php?t=149135)

Terrasoft 06-11-2007 10:05 PM

Something weird. In the top left corner, the redirect page goes to /irc/index.php or in my case /irc/forum.php

How do I change it so it just goes to /forum.php and not in the irc folder which it shouldnt be since the correct location isnt in the irc folder?

toonysnn 06-13-2007 05:28 AM

You could make a forum.php file in /irc/ as this:
PHP Code:

<?php
header
('Location: ../forum.php');
?>

It will redirect it to /forum.php instead of /irc/forum.php

RedGTiVR6 06-19-2007 07:58 PM

would it be possible to have two of these running on the forum?

We'd like to have a general chat then a specific chat for support reasons.

Would this be possible? If so, would you mind explaining how I would go about doing it?

Trigr 06-19-2007 11:13 PM

Quote:

Originally Posted by toonysnn (Post 1267435)
You could make a forum.php file in /irc/ as this:
PHP Code:

<?php
header
('Location: ../forum.php');
?>

It will redirect it to /forum.php instead of /irc/forum.php


still doesnt work. it seems anything i click in my nav bar thinks its going to /irc/ instead of back to my root directory.

toonysnn 06-20-2007 02:45 AM

@Trigr: Weird. And I've known about the navbar issue, I'm working on a fix for that.
@RedGTiVR6: I can make a seperate XML for what you need, and it would require a seperate PHP file, but right now I am working on 1.0.2 (it will be in the root dir instead of /irc/ this time). I'll make it as soon as 1.0.2 works. :)

RedGTiVR6 06-20-2007 12:54 PM

wow - that would be great! Thanks!

I think we're going to end up creating some new rooms for our forum. This would take care of the efnet problems we were running into earlier. That room was created back in 98.

Also, how hard would it be to code in archiving?

andrewkhunn 06-20-2007 11:34 PM

This is a great plugin. I did some light hacking of the template and came up with what I think is a pretty elegant solution for my forum. You can see it in action right here:

http://elitistjerks.com/chat.php

Thanks toonysnn!

toonysnn 06-21-2007 07:03 AM

Quote:

Originally Posted by RedGTiVR6 (Post 1272446)
wow - that would be great! Thanks!

I think we're going to end up creating some new rooms for our forum. This would take care of the efnet problems we were running into earlier. That room was created back in 98.

Also, how hard would it be to code in archiving?

Archieving? You mean on yoursite.com/forum/archive? I wouldn't know that, my knowledge of vB coding is limited, even if I knew what you were talking about =P
@andrewkhunn: Wow, you did what I was trying to fix (and failed, x.x) ... or did you just put the IRC files in the main dir? :lol:
Your welcome :)
@RedGTiVR6: Here's a seperate addon for you, the new phrases will added on and the PHP file you can rename to what ever you want and put it in the /irc/ folder to get it to work (unless andrew would be kind enough to tell us how he made chat.php in the main dir and /irc/ still holding the files :p) Rename the irc.php file provided in the attachments below to what ever you wish and set the settings in the ACP :)

(This should work, if not just tell me and I'll work it out on my test board. :))

PS: 1.0.2 may not be out for a week or so, I've been a bit busy with my friends with a coding school thing and setting up all the website PHP/MySQL stuff =P

RedGTiVR6 06-21-2007 01:38 PM

archiving, as in if we're holding a support dicussion with some members. Hit a button and it saves the conversation as a text file.

Thanks for the custom mod. Just so I can make sure we're on the same page, this will allow us to run multiple instances of an IRC chat on the forums, right?

Thanks so much!

toonysnn 06-21-2007 04:35 PM

Ah, I see. I would guess that'd be a mod to pJIRC which I've never heard of it before, but I'll look around :)

Your welcome, it will run multiple instances but it will require a php edit and many xml edits (just adding another letter after the phrases [not sure if necassary] and settings etc lol)

I'll be happy to make more copies of it, if ya need it.


All times are GMT. The time now is 02:25 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.01495 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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