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)
-   -   vBXirc (https://vborg.vbsupport.ru/showthread.php?t=59612)

danbc 04-05-2004 10:01 AM

Ehhmm.: How do I do that, written in noob terms? I know where to put it, but I have no clue what to put there :)

pirotess 04-05-2004 12:52 PM

Quote:

Originally Posted by Slave
Ok .. installed on my dev forums .. seems ok once I'd changed the links for the images in the vBXirc templates .. so that's cool ..

But! .. this whole templete thing is a bit of a bugger .. why doesn't/can't it just use the normal $navbar (and all the others) instead of having it's own? .. I use the java drop downs in my navbar and it's a pain not to be able to use it (if I add any other hack links I now have to add them twice etc) .. I've tried changing $vbxirc_navbar to just $navbar .. but it doesn't seem to like that .. how come?

Apart from that .. TOP work .. :)

Had the same problem after I got a member to download the zip for me. :rolleyes: Didnt like the custom headers and see no reason to keep them so I just stripped the vbxirc_ from the following three lines in chat/index.php

PHP Code:

eval('$vbxirc_footer = "' fetch_template('vbxirc_footer') . '";');
eval(
'$vbxirc_header = "' fetch_template('vbxirc_header') . '";');
eval(
'$vbxirc_navbar = "' fetch_template('vbxirc_navbar') . '";'); 

Works fine.

Danbc:

Try this in either your vbxirc_navbar or navbar template right after the
HTML Code:

<!-- nav buttons bar -->
code.

HTML Code:

<td class="vbmenu_control"><a href="http://yourURL/chat"> Chat </a></td>

Slave 04-05-2004 01:47 PM

Ahh .. cool pirotess .. cheers .. I give that a go :)

Slave 04-05-2004 01:52 PM

hmm .. all that did was get rid of them completely ..

:(

Velocd 04-06-2004 06:13 AM

Quote:

Originally Posted by IndyWebDesign
I installed this hack yesterday and it was working just great but now some members can't connect while others can. What gives?

Error:

Connecting...
Unable to connect : null

Worked for me fine last night but tonight it doesn't.

I recently posted a fix for this at my forums.

Apparently pjIRC and IE have some conflict on allowing Java to grant the needed permissions for it in order to function.

Quote:

For reasons unknown, IE and Java, or maybe it's just this Java applet (pjIRC) and IE, don't get along.

In the case you accept a pop-up that says "grant permission to this applet," you likely aren't getting this error, and will be able to connect to our chat. Unless, you click "no" to that applet. The problem with not granting permission to this applet is you might not get the "grant permission" pop-up window ever again (well, maybe on reboot).

Java by default denies applets 3 of 4 permissions to Java sockets (your ip address/port), which are accept, connect, and resolve. It grants listening to the port, to see if it's available. This is why you sometimes get the pop-up that says "grant permission to this applet."

You can bypass this by editing your java.policy, forcing the 4 permissions for all applets under safe sockets.

To do this, first update your Java to the latest version (it goes quick):
http://www.java.com/en/download/windows_automatic.jsp

Then, browse to the folder \program files\java\your_latest_java_version\lib\security\

(e.g. \Program Files\Java\j2re1.4.2_04\lib\security)

Now, modify the file "java.policy" in a text editor, such as Windows notepad.exe.

Find the line of code:
Code:

permission java.net.SocketPermission "localhost:1024-", "listen";
Replace it with all this:
Code:

// permission java.net.SocketPermission "localhost:1024-", "listen";
permission java.security.AllPermission;
permission java.net.SocketPermission "127.0.0.1:1024-", "accept, connect, listen, resolve";
permission java.net.SocketPermission "72.8.29.1:1024-", "accept, connect, listen, resolve";
permission java.net.SocketPermission "localhost:1024-", "accept, connect, listen, resolve";

Save the file. Now, restart your PC (or logging out should be fine).

Now try connecting to the java, and it should work fine.
(ref: http://forums.animesystem.com/showth...0652#post90652)

I recommend you use Mozilla Firefox anyway, but this is a fix for IE. ;)

msimplay 04-06-2004 07:51 AM

I wish everyone didnt use IE
it really holds us back from using better web coding in terms of css
and codes that are wc3 compliant sometimes don't work in IE
for example my friend converted his site to Xhtml and had the right doctype and everything

but when he tried to run it in IE it didn't work at all
but in mozilla it was perfect in the end he had to remove the doc type and then it worked fine

BarBeQue 04-06-2004 08:42 AM

if someone ever finds out how to make vbxirc use the normal vB navbar / header and footer let me know.
I'm getting ++++ with the ones that are hardcoded in vbxirc.

Plus, i can't understand why vbxirc makes the /chat dir the default new root dir, cause my whole sidebar is forked with it, all links point to /chat/..... instead of to /. making them all useless (and preventing my rss feed to be loaded).

The basis of the hack is great, it just has too much hardcoded
:(

Zachery 04-06-2004 03:47 PM

Quote:

Originally Posted by BarBeQue
if someone ever finds out how to make vbxirc use the normal vB navbar / header and footer let me know.
I'm getting ++++ with the ones that are hardcoded in vbxirc.

Plus, i can't understand why vbxirc makes the /chat dir the default new root dir, cause my whole sidebar is forked with it, all links point to /chat/..... instead of to /. making them all useless (and preventing my rss feed to be loaded).

The basis of the hack is great, it just has too much hardcoded
:(

Actualy BarBeQue

Before 2.5.x everyone was linked from the original header and footer and i got alot of complaints during.

So instead of having everyone whine to me why it dint work i added new templates, which can be changed, and are not hard coded at all :)

???`S?LV?R???` 04-06-2004 04:38 PM

Zachery you gonna post a fix for that not logged in users bug yet? lol i been waiting for a while and ya still havnt done it...

Zachery 04-06-2004 04:39 PM

Quote:

Originally Posted by ???`S?LV?R???`
Zachery you gonna post a fix for that not logged in users bug yet? lol i been waiting for a while and ya still havnt done it...

Its a template / phrase edit :)

[high]* Zachery goes to get it right now[/high]

djohn 04-06-2004 05:53 PM

Zachery maybe you can reply to my post? Is it possible to change the charset of the applet to cyrrillic, so that the letters are displayed normally? If not, just say so, don't just ignore me.

Regards.

Zachery 04-06-2004 06:18 PM

Quote:

Originally Posted by djohn
Zachery maybe you can reply to my post? Is it possible to change the charset of the applet to cyrrillic, so that the letters are displayed normally? If not, just say so, don't just ignore me.

Regards.

Sorry, must have missed it, you would need to download a language pack from www.pjirc.com to support other languages

???`S?LV?R???` 04-06-2004 06:21 PM

k well hopefully u got it posted today so i can apply it, so finally my unlogged in members wont be redirected to a non existing page lol

Zachery 04-06-2004 06:37 PM

In the STANDARD_ERROR template

find
HTML Code:

<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
replace with

HTML Code:

<form action="$vboptions[bburl]/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">

BarBeQue 04-06-2004 07:15 PM

Quote:

Originally Posted by Zachery
Actualy BarBeQue

Before 2.5.x everyone was linked from the original header and footer and i got alot of complaints during.

So instead of having everyone whine to me why it dint work i added new templates, which can be changed, and are not hard coded at all :)

Hmm anywhere i can get the < 2.5 release :D
Cause i know the templates can be editted but i just copied the whole navbar in it. If you know of a way to have it use the default navbar and header/footer i would like to use that.

Plus what wonders me the most is, why does this hack make /chat/ the root folder? ALL links now have /chat/ before the url... even my sidebar or original header point to /chat/(whatever file was linked too), which ofcourse gives a 404 since it's / not /chat/

The chat itself works great though! no complaints there

Zachery 04-06-2004 07:19 PM

Quote:

Originally Posted by BarBeQue
Hmm anywhere i can get the < 2.5 release :D
Cause i know the templates can be editted but i just copied the whole navbar in it. If you know of a way to have it use the default navbar and header/footer i would like to use that.

Plus what wonders me the most is, why does this hack make /chat/ the root folder? ALL links now have /chat/ before the url... even my sidebar or original header point to /chat/(whatever file was linked too), which ofcourse gives a 404 since it's / not /chat/

The chat itself works great though! no complaints there

Because your not using absolute paths rather relitive paths, you use page.php or folder/page.php rather than site.com/page.php.

add $vboptions[bburl]/ before any of your links and this should fix your problems :)

dethfire 04-07-2004 12:09 AM

Zachery, looks like your demo page has been hacked

???`S?LV?R???` 04-07-2004 12:13 AM

thanks for the fix, it worked good :)

Zachery 04-07-2004 12:24 AM

Quote:

Originally Posted by dethfire
Zachery, looks like your demo page has been hacked

Yes im aware ill resotre it soon, i have to get a backup from the host. my vBXirc wasnt the same as what you guys use

dethfire 04-07-2004 12:34 AM

Quote:

// ## Must preform ##
open includes/adminfunctions_template.php

find
'forumhome' => $vbphrase['forum_home'],

below add

'vbxirc' => 'vBXirc',
I'm using 3.0 and there is no 'forumhome' => $vbphrase['forum_home'], in adminfunctions_template.php

the only thing that is close is 'forumhome' => $vbphrase['group_forum_home'],

djohn 04-07-2004 07:57 AM

Thanks, Zachery, I guess that is not the problem of your hack, but a problem of the applet.
I had a question about why do all paths are chat/ folder relative? Even my vb logo's address is set to www.site.com/forums/chan/vb_logo.gif

Also,what is the point of using your own footer and header templates?

BarBeQue 04-07-2004 11:57 AM

Quote:

Originally Posted by Zachery
Because your not using absolute paths rather relitive paths, you use page.php or folder/page.php rather than site.com/page.php.

add $vboptsions[bburl]/ before any of your links and this should fix your problems :)

Lol, i understand they you don't use absolute path, never said you have too.

But my board works fine, arcade hack, sidebar hack, shoutbox, all works fine, and all leave the links of vB and all hacks alone.

Then i add your vbxirc, and suddenly once i enter the vbxirc page, all links and pictures that work fine everywhere else stop working and direct to /chat/ dir.
(And i have seen multiple replies here of other users that experience the same link problem)

Now you're telling me i should edit the officially released vB navbar/header/footer and any hack i installed like sidebar that also shows on your vbxirc page because they are all faulty and use incorrect links?
That's changing ALL templates except your hack.

You realise i rather edit your hack that seems to cause this, then edit everything else... if only i knew what in your hack causes this problem

Boss-Hog 04-07-2004 03:27 PM

I'm using VB3 Gold and the chat itself works great. However, I have a few quick questions:

1). Has the problem with user nicknames starting with a number or any invalid IRC character been fixed to assign them a random nickname?

2). I'm not getting a smilie box even though I have this in my template: <param name="style:bitmapsmileys" value="true"> Should I be seeing a box to insert smilies a la the post reply function or does that code only allow chat to parse the smiley code into the actual smilies...that much works, just no box to insert them much more easily. I have the smiley option enabled under vbxIRC settings, by the way.

3). By default, I don't get an image that is supposed to be loading on the chat page at: /forums/chat/images/misc/navbits_start.gif . I've redownloaded the zip a few times and don't see this image included with the zip file, so I'm getting a broken image there. Am I doing something wrong or is it not included with the zip?

4). Finally, is there a way to apply template changes you make to one style to ALL your styles? That way, it wouldn't be necessary to edit them all if you change one.
Thanks for a great hack!

D|ver 04-07-2004 03:33 PM

i would request a great invitation addon like this one for this great script :)

is there already a vb3 version for this?

Zachery 04-07-2004 04:29 PM

Quote:

Originally Posted by Boss-Hog
I'm using VB3 Gold and the chat itself works great. However, I have a few quick questions:

1). Has the problem with user nicknames starting with a number or any invalid IRC character been fixed to assign them a random nickname?

2). I'm not getting a smilie box even though I have this in my template: <param name="style:bitmapsmileys" value="true"> Should I be seeing a box to insert smilies a la the post reply function or does that code only allow chat to parse the smiley code into the actual smilies...that much works, just no box to insert them much more easily. I have the smiley option enabled under vbxIRC settings, by the way.

3). By default, I don't get an image that is supposed to be loading on the chat page at: /forums/chat/images/misc/navbits_start.gif . I've redownloaded the zip a few times and don't see this image included with the zip file, so I'm getting a broken image there. Am I doing something wrong or is it not included with the zip?

4). Finally, is there a way to apply template changes you make to one style to ALL your styles? That way, it wouldn't be necessary to edit them all if you change one.
Thanks for a great hack!

Thats fixed in 2.5.2

Did you enable smilies in the ACP?

did you overwrite my standard navbart?

Boss-Hog 04-07-2004 04:50 PM

Zachery,

Yes, smilies are enabled in the ACP. I haven't modified your navbar at all...

ckaosII 04-12-2004 07:57 PM

Eehhh,

Just testet the demo link, seems like you demosite has been hacked to death :rolleyes:

Zachery 04-12-2004 07:58 PM

YEs im aware, i havent had the chance to remake my script i use a differnt version that is not public

ckaosII 04-12-2004 07:59 PM

OMG, what a quick respond :nervous:

Zachery 04-12-2004 08:00 PM

i just got done releasing another hack ;)

Ogmuk 04-12-2004 08:07 PM

Yeah I'm getting it too:
"SgA3 0wned Your BoX From DH0 Crew" instead of your demo page.

lazserus 04-17-2004 10:12 PM

I followed the directions to the T and still got an error:
Quote:

Warning: main(./global.php): failed to open stream: No such file or directory in /home/lazserus/public_html/forums/chat/index.php on line 39

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lazserus/public_html/forums/chat/index.php on line 39
Yes, I've read the readme.html and followed it 6-7 times and get the same results. The only thing I did not do was
Quote:

// ## ONLY IF YOU HAVE CSS AS A FILE ENABLED ## open global.php find define('STYLEID', $style['styleid']); add under if ($vboptions['storecssasfile']) { $style['css'] = str_replace('clientscript', "$vboptions[abspath]/clientscript", $style['css']); } save and close global.php
because, as it says only to do so if CSS as a file is enabled, I do not have CSS as a file enabled.

It looks to me like it's attempting to look for the global.php in the same directory as the chat's index.php, but what do I know?

I'm really confused, because it seems like only one other person had this problem but there was no mention of how it was fixed. I really don't see what I'm overlooking since the readme is real short and I've read it almost 10 times. Help?

Zachery 04-17-2004 10:17 PM

One chdir is wrong, 2 ill be relasing the updated file in a day or so.

lazserus 04-18-2004 01:57 PM

Cool, I'll just wait then. I looked for other places the chdir might be listed, but found nothing. Was the script designed to install in the index dir of vBulletin, or a subdir of it? Like, was it designed for yourdomain.com/vbulletindir/ or yourdomain.com/vbulletindir/chat?

Aurous 04-22-2004 04:19 AM

Quote:

Originally Posted by Zachery
ill be relasing the updated file in a day or so.

still waiting! :tired:

Btw, how long is "a day or so"?

???`S?LV?R???` 04-22-2004 04:22 AM

lol that might be close to a month right zack ;-)

Zachery 04-23-2004 07:31 PM

The new file has been ready but my ive tried to update my installer but its not agreeing with me, the phrases are not being inserted propery to show the AdminCP Options.

Diva 04-23-2004 07:36 PM

Quote:

Originally Posted by Zachery
The new file has been ready but my ive tried to update my installer but its not agreeing with me, the phrases are not being inserted propery to show the AdminCP Options.

So that means I should hold off on trying to install, right? ;)

Zachery 04-23-2004 07:38 PM

The install file here works fine, however it doesnt like to get upgraded (it requires an uninstall and a reinstall) so thats what im trying to fix with the new installer :)

Aurous 04-26-2004 12:48 AM

I dont understand the point of making an installer. Just give us the files to update and instructions on what to edit! We'll take it from there. I personally dont like automated installations on forums. I'd prefer doing it manually, so I know whats being changed.

If you can upload the files we need to upload on the server and good instructions for the time being, that will work.

Thanks


All times are GMT. The time now is 04:30 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.02240 seconds
  • Memory Usage 1,859KB
  • 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_code_printable
  • (4)bbcode_html_printable
  • (1)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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