vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Ventrilo Status Block for vBulletin and vBadvanced (https://vborg.vbsupport.ru/showthread.php?t=204471)

Crimm 02-05-2009 10:00 PM

Ventrilo Status Block for vBulletin and vBadvanced
 
1 Attachment(s)
This mod has been replaced! https://vborg.vbsupport.ru/showthread.php?t=240495

Author:

Crimm - Included because I have been finding my mods all over the internet taken via RSS :P

Description:

This will place a Ventrilo status block in a column of your vbadvanced installation. It uses some of the files found on Ventrilo.com's download section plus things I have learned to integrate them into vBulletin. I just thought I would share, because I couldn't find anything like this when I was looking 5 or 6 months ago. I have done searching all day today and haven't found anything similar. If someone has already released this mod, then please let me know via link.

NOTE: Debug option may display server information. Hide the block to non-admins when debugging the block or else malicious individuals could get their hands on your server information.

Difficulty:

5/10 - It's mainly normal installs, but it's difficult to debug this ventrilo status script.

Requirements:

Safe mode being off is very important and will be the biggest problem people have with this script. To test and see if you pass this requirement follow these steps:

1. Create a file called info.php
2. Put this line inside it:

Code:

<?php phpinfo(); ?>
3. Upload it to your website.
4. Visit the new page by going to: http://yoursite.com/info.php or wherever you uploaded it.
5. Look for a line that says: "safe_mode"
6. If that says - On next to it... then contact your host, because you can't go any further.

**I was going to try and implement a check, but can't seem to figure out how to do that.**


Support:

Here or my site: mmo-mods.com I spend the majority of my online time at my site so feel free to stop by and ask for help.

FAQ's:

Q: Yes I have seen this mod: https://vborg.vbsupport.ru/showthrea...age=5&t=113432 Isn't this the same mod?

A: No, it isn't like that. It adds a block using the code from ventrilo.com and modules from vbadvanced. - See screenshots.

Q: I'm getting this: CVentriloStatus->Request() failed. PHP Unable to start external status process. Or this error: (Since friendly errors were turned on in version .2) "Can't find or run ventrilo_status"

A: Please post and I will try to help, best bet is to visit my site where this information is being culminated as a community and where I spend most of my time. http://mmo-mods.com. Experience tells me it has to be one of these three things:

1. Permissions: Make sure to chmod your ventrilo_status to 755 if you are on linux. If you are on Windows, make sure that whatever is running your IIS process can execute ventrilo_status.exe
2. You are in PHP safe mode. This won't work in PHP Safe mode.
3. It's a path problem - I made everything relative. I have included some testing scripts, please use them as directed below.
4. Make sure that you have chosen the correct environment set in your settings.

Q: I'm getting this error: "No response."

A: Check your Server information. You can obtain this from your ventrilo host.

Q: I'm getting this error: "Unknown Error."

A: Copy/Paste the exact error and post it here with your domain so that I can take a look

Q: Whats the best way to debug an issue?

A: I included a debug option in the Ventrilo Status Block Options in vBulletin options, but note be very careful as it displays server information that could be useful to hackers. Make sure to hide the block from non-admins when you have this option checked.

Installation:
  1. Download the ZIP file attached
  2. Upload the includes folder to your forum folder
  3. Browse to the includes/ventrilo folder and chmod ventrilo_status to 755 for linux and check execute permissions if you are using Windows.
  4. Go to admincp -> Products -> Install the product in the zip file
  5. Go to admincp -> vbacmps -> Download/Upload modules and Upload the module that is in the zip file.
  6. Click continue after uploading and active it on the pages that you want, and the column that you want.
  7. Go to Admincp -> vb options -> Ventrilo Block Settings
  8. Put in your server information and check your environment and other settings
  9. If you get an error check the FAQ's above before asking for help.
  10. Problems? Post here No problems? Then you are good to go.

Crimm notation on block:

Please leave the notation back to me in the block to help spread the word. I left it small, so it wouldn't bother your site. Us freelancers have to get some fame somehow :)

Mark as installed:

Please mark as installed if you use this script, and I will assist you with a higher priority than everyone else.

Revisions:

Version 1: Beta
Version 2: Fixed issue with Comments from ventrilo files showing in blocks
Version 3: Attempt to fix error when installing product.
Version 4: Fixed an error where some people get a message about global.php being redeclared. https://vborg.vbsupport.ru/showpost....4&postcount=28

XtremeOffroad 02-06-2009 03:48 PM

Thanks

Crimm 02-06-2009 04:16 PM

Nevermind.

I guess I was looking at an older version of my files.

Doctor Death 02-07-2009 01:04 AM

cant wait to try this, been looking for this for a long time.

Thanks!

Doctor Death 02-07-2009 01:15 AM

I am only running vbulletin 3.8.1. Will this work without VBA?

Upon plugin install, i Get an error that reads

Quote:

Plugin & Products System
Importing Product, Please Wait...

[:::::::]


Parse error: syntax error, unexpected '<' in /home/xxxxxxxx/public_html/forums/admincp/plugin.php(1995) : eval()'d code on line 1

Rebuild Style Information
Updating style information for each style

Default Style ... (Templates) (StyleVars) (Replacement Variables) (CSS) (Controls) Done.

(Controls) Done.






vBulletin Message

Product ventrilo_vbadvanced_block Imported



If you are not automatically redirected, please click here.

Processing Complete - Proceed

vBulletin? v3.8.1, Copyright ?2000-2009, Jelsoft Enterprises Ltd.
After install main VBulletin page is uneffected... Vent status Does not appear anywhere.

Crimm 02-07-2009 01:33 AM

You have to have VBA for this to work.

It's a module for it.

As for the error. I'll check it out shortly.

Crimm 02-07-2009 01:38 AM

hmmm seems to be installing fine on re-download and install attempt on fresh board.

Let me do some further testing and see if I can replicate that error.

I'll be in touch.

Doctor Death 02-07-2009 01:46 AM

Quote:

Originally Posted by Crimm (Post 1736681)
You have to have VBA for this to work.

It's a module for it.

As for the error. I'll check it out shortly.

Is there a possibility you could mod this for Vbulletin itself? Would be tremendously useful.

Thanks!

Crimm 02-07-2009 12:14 PM

It's already in the works :)

Crimm 02-07-2009 04:36 PM

Quote:

Originally Posted by Doctor Death (Post 1736665)
I am only running vbulletin 3.8.1. Will this work without VBA?

Upon plugin install, i Get an error that reads



After install main VBulletin page is uneffected... Vent status Does not appear anywhere.

BTW I could never re-create this error.

If anyone else gets this, please let me know.

It's probably because you don't have VBA installed.

Thanks for showing interest. I'll make another one that doesn't require vba.

mstu 02-07-2009 05:16 PM

I received the same error as above

I have vb 3.8.1 - vba 3.1.0 installed

Crimm 02-07-2009 05:38 PM

Well, crap.

Okay let me download and try one more time.

Ill be back.

Grrrr

mstu 02-08-2009 01:28 AM

I should let you know that I finished going through the installation and the module displayed but with a server offline message.

I just havent had time to troubleshoot the server offline problem to see if maybe the mod will work anyway.

Crimm 02-08-2009 01:32 AM

Version 3 released.

I believe it was the code I was trying to use to check for Safe mode.

It shouldn't give an error message anymore, but I was still unable to replicate :(

Quote:

I should let you know that I finished going through the installation and the module displayed but with a server offline message.

I just havent had time to troubleshoot the server offline problem to see if maybe the mod will work anyway.
Do you mind PM'ing me your site and I'll be happy to check the error being displayed?

mstu 02-08-2009 01:58 AM

pm sent

thanks crimm

MasterofWorlds 02-10-2009 05:21 PM

can you make a version of this that integrates into the bottom of your forum so that ppl that don't have/use vBadvanced can still use this mod?

Thanks

Crimm 02-10-2009 06:33 PM

Quote:

Originally Posted by MasterofWorlds (Post 1740011)
can you make a version of this that integrates into the bottom of your forum so that ppl that don't have/use vBadvanced can still use this mod?

Thanks

If you want it at the bottom of your forum:

https://vborg.vbsupport.ru/showthrea...age=5&t=113432

It looks like it's not working for 3.8


hmmmm

Since that Developer has that mod ... I will attempt to contact him and give it a shot, but I can't promise anything... as it's his script.

MasterofWorlds 02-10-2009 07:39 PM

thanks for the information, i'm trying to get it working my self but not sure if it the code of the ventrilo_status file that is not working right.

Crimm 02-10-2009 08:03 PM

There's a good way to test it.

Go here: http://ventrilo.com/download.php

Download the Status stuff and call the test page directly using your information.

If the author gives me permission I can help you more.

gmerin 02-10-2009 10:13 PM

btw, this should work to check for safe mode:

if( ini_get('safe_mode') ){
// safe mode
}else{
// unsafe mode
}

but safe mode is removed in php 6 because it's largely useless. isps who provide php safe mode usually also provide perl and other utilities that do not have a safe mode so if they can't get to the necessary functions to hack the system via php, they'll use perl or another similar utility that does nto have a safe mode. the protections afforded by safe mode should be provided by apache instead...

Crimm 02-11-2009 12:51 AM

Thank you!

qberty 02-11-2009 11:14 AM

I'm not trying to rush you or anything, But how long would it take to make a status block Just for VB? Love how you made it look.

Crimm 02-11-2009 12:35 PM

It wouldn't take much.

The hard part would be figuring out a way to make it fit in the thousands of styles that are out there.

Are you guys wanting it to be a column like this one?

Crimm 02-11-2009 02:29 PM

BTW I have now made a mod that will show ventrilo status without needing vbadvanced.

I'm doing some more testing and should be posting it today.

Crimm 02-11-2009 04:22 PM

https://vborg.vbsupport.ru/showthread.php?t=205042

For those of you that might be subscribed to this waiting :)

Trek 02-11-2009 04:44 PM

Nice work, you should combine the two. I used the original mod you referenced as well and made my own VBA/vBulletin mod, just never released it.

You'rs is better in that it shows the channels, etc. But having the ability to turn on/off the different parts (vba module/forum display part) would make me quit using mine and use yours. =)

Crimm 02-11-2009 04:49 PM

Thank you very much!

They are the exact same overall.

https://vborg.vbsupport.ru/showthread.php?t=205042 - This one just uses plugins to call the files needed and uses styles to output.

https://vborg.vbsupport.ru/showthread.php?t=204471 - Uses vBadvanced's module styles to output.

But your right... That would be sweet. I'll look into that. Thanks!

SuperTaz 02-12-2009 01:32 AM

I uploaded the files, CHMOD 755 the vent_status file and also installed the product. Everything there is fine. When I upload the module I get this error after I refresh:

Quote:

Fatal error: Cannot redeclare wwu002activityupdate() (previously declared in /home/public_html/forums/global.php(400) : eval()'d code:445) in /home/public_html/forums/global.php(400) : eval()'d code on line 494
Any thoughts as to why the module creates this error?

CFodder 02-12-2009 04:23 AM

All the install went just fine, however am getting no response, please check your settings. Have tried with the server admin and the login passwords, and even no password but still get the same error. The server is hosted with GameServers, would the status password be different to the ones I've tried above?

It shows the server details and the Lobby, our initial channel but nothing under that, pse see the screenshot I've attached.

Great mod btw, been waiting for one like this for a while :)

Crimm 02-12-2009 12:22 PM

Quote:

Originally Posted by Warden-B- (Post 1741394)
I uploaded the files, CHMOD 755 the vent_status file and also installed the product. Everything there is fine. When I upload the module I get this error after I refresh:



Any thoughts as to why the module creates this error?

Because my code calls global.php to work.

hmmm I wonder if you have another mod that is calling it to.

Let me test an idea and I'll be in touch.

Crimm 02-12-2009 12:24 PM

Quote:

Originally Posted by CFodder (Post 1741471)
All the install went just fine, however am getting no response, please check your settings. Have tried with the server admin and the login passwords, and even no password but still get the same error. The server is hosted with GameServers, would the status password be different to the ones I've tried above?

It shows the server details and the Lobby, our initial channel but nothing under that, pse see the screenshot I've attached.

Great mod btw, been waiting for one like this for a while :)

I plugged your ventrilo server information to my temporary test site:

http://demo.mmo-mods.com/vbtest/

and it worked. Your status password should stay blank.

EDIT: Oh and go ahead and remove your vent settings from the public forums. You don't want a vent attacker hopping onto that bad boy.

If anyone wants me to test with them ... Just PM me the settings and then we'll troubleshoot here publicly.

Crimm 02-12-2009 01:47 PM

Quote:

Originally Posted by Warden-B- (Post 1741394)
I uploaded the files, CHMOD 755 the vent_status file and also installed the product. Everything there is fine. When I upload the module I get this error after I refresh:



Any thoughts as to why the module creates this error?

I updated it.

Try the latest version and please let me know.

SuperTaz 02-12-2009 06:34 PM

Well it does not give that error no more, but when I enter the IP and port in their areas and use the password, it still says server not found.

Crimm 02-13-2009 02:57 PM

I responded to your PM.

Let's see where we can go from there.

SuperTaz 02-13-2009 06:01 PM

Quote:

Originally Posted by Crimm (Post 1742960)
I responded to your PM.

Let's see where we can go from there.

ok...sounds good

y2krazy 02-13-2009 06:04 PM

I actually have a question that I'm not sure if it has been addressed or not. I apologize if it has.

Q: Is there a way to allow multiple Vent information to be stored and permissioned to access a different Vent status block based on usergroup, social group, etc.?

Not sure how implementable this might be, nor how long it may take to code, but I was just curious. Thanks!

~ Sean

Crimm 02-16-2009 02:09 AM

You mean for multiple Ventrilo servers?

You could do this. I'm still out of town, but could give more details at a later date.

At it's current version it would take installing the product twice and changing some options, etc.

Now that I say that though, it may be too difficult to implement that way.

y2krazy 02-16-2009 02:24 PM

Quote:

Originally Posted by Crimm (Post 1745522)
You mean for multiple Ventrilo servers?

You could do this. I'm still out of town, but could give more details at a later date.

At it's current version it would take installing the product twice and changing some options, etc.

Now that I say that though, it may be too difficult to implement that way.

I'll give it a shot. Let me know what you find out when you get back in town. ;)

~ Sean

CFodder 02-17-2009 06:04 AM

Have fixed my prob with the no response, it was my webhost blocking the vent server port, got them to whitelist it for outgoing queries and it's all working perfect now ... Thanks for all your help too Crimm, good to see people supporting their mods :).

CFodder 02-17-2009 07:01 AM

1 Attachment(s)
Oh dear, have come across a new problem, when the mod is enabled on my VBadvanced homepage (not in the forums it's fine there) it removes all options from the navbar.

Pic 1 is of it normally, and 2 after the module is enabled. To fix it just have to remove the module from the homepage, but that is where we would like it.

Also, how could I change the font-size/colors etc in the status box pse?


All times are GMT. The time now is 05:23 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.01496 seconds
  • Memory Usage 1,844KB
  • 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_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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