[Rel] Ventrilo Block + ACP sup. (v1.1)

Forum rules
This forum is not for support requests.

Only post Modifications for Board3 Portal 1.0.x in this forum.

Topic author
Dr Nick^
Valued Contributor
Posts: 81
Joined: 11. August 2009 13:56
Contact:

[Rel] Ventrilo Block + ACP sup. (v1.1)

Post by Dr Nick^ »

*** Update 28-09-2012 - Check end of this post ***

Addon: Ventrilo Block
Addon-Version: [REL] v1.1
Addon-Description:
A custom block with ventrilo output.

Addon-Requirements (v1.1.3): board3 Portal v1.0.3, Ventrilo server (2.1.3), Linux/unix webserver
Addon-Requirements (v1.1.4): board3 Portal v1.0.4, Ventrilo server (2.1.3), Linux/unix webserver
Addon-Authors: Dr Nick^
Addon-Download:
Ventrilo Block v1.1.3 (version 1.0.3)
Ventrilo Block v1.1.4 (version 1.0.4)

phpBB-Version: 3.0.5
phpBB-Styles: prosilver
phpBB-Languages: English

Please don't upload the mod anywhere (to offer it as a download), without asking me before, thanks.

Additional information:
This mod is written en tested on a Linux based webserver.
With a ventrilo server version 2.1.3.

* New features:
- subsilver2 style included (not too good looking, but its there)

Additional ventrilo config is needed, to get status from any where.

Code: Select all

[Intf]
[Status]
Intf=0.0.0.0
Password=
ReplyInterval=500
ACP Support for adding IP + Port and enableing/disableing block.

Screenshot 1: ACP
Screenshot 2: Block Output

For questions and bugs, let me know here.

Update 28-09-2012: Files newly uploaded to other location, feel free to download any thing you like
http://www.kappa.practicum.os3.nl/board3apps/
Last edited by Dr Nick^ on 28. September 2012 07:53, edited 4 times in total.
[Rel] (WoW) Application form + ACP sup. (v3.1) => http://board3.de/viewtopic.php?f=21&t=2663
[Rel] Ventrilo Block + ACP sup.(v1.1) => http://board3.de/viewtopic.php?f=21&t=2665

IronDogg
Active Member
Posts: 5
Joined: 4. July 2009 13:08
phpBB.com User: IronDogg

Re: [Rel] Ventrilo Block + ACP sup.

Post by IronDogg »

I was wondering if you could help me here. I get this error when loading the portal page after this mod install. Ive checked the code, and all changes are there...

[phpBB Debug] PHP Notice: in file /portal/block/ventrilo_block.php on line 77: array_multisort(): Argument #1 is expected to be an array or a sort flag
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3854: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3856: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3857: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3858: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)

Thanks if you can point me in the right direction...

IronDogg
Active Member
Posts: 5
Joined: 4. July 2009 13:08
phpBB.com User: IronDogg

Re: [Rel] Ventrilo Block + ACP sup.

Post by IronDogg »

Nevermind, figured it out...

I had to convert the host name to an IP address. I didnt notice that the IP field chopped off the host name...

It works fine now... Excelllent mod! :)

Topic author
Dr Nick^
Valued Contributor
Posts: 81
Joined: 11. August 2009 13:56
Contact:

Re: [Rel] Ventrilo Block + ACP sup.

Post by Dr Nick^ »

srry i made it IP based.
its max 15 chars long, will add it in explanation :)

btw some side note,
this can also happen if VT server is running longer then 50days,
i had it on mine once.
But 'serverstatus' also said 0days then, so ppb vt bug.
[Rel] (WoW) Application form + ACP sup. (v3.1) => http://board3.de/viewtopic.php?f=21&t=2663
[Rel] Ventrilo Block + ACP sup.(v1.1) => http://board3.de/viewtopic.php?f=21&t=2665

simonjcook
Active Member
Posts: 12
Joined: 1. September 2009 17:18

Re: [Rel] Ventrilo Block + ACP sup.

Post by simonjcook »

Problems with the install,
I've performed the steps as per VentriloBlock_install_board3.txt
I'm at the stage...
To install ACP -

Load up your forums then go to - ACP >> System >> Administration Control Panel >> .Mods >> Portal

In the bottom right hand corner, click the top drop down box an select 'Ventrilo' OR 'ACP_PORTAL_VENTRILO_INFO' under the section PORTAL [acp_portal]
Now click 'Add Module'.
I'm on the .mods tab but there is no dropdown box, Ventrilo option or ACP_PORTAL_VENTRILO_INFO anywhere on the page.
All the usual Board 3 Portal menu and options are shown as per normal with no additions.
What am I missing here?

PHPBB3 Version 3.0.5
Board3 Portal Version v1.0.3

Best regards,

Simon

Topic author
Dr Nick^
Valued Contributor
Posts: 81
Joined: 11. August 2009 13:56
Contact:

Re: [Rel] Ventrilo Block + ACP sup.

Post by Dr Nick^ »

You need to go to the Administrator Control Panel
Tab: System
Center link: ACP
Center link2: .MODS
Center link3: Portal

there is where you see drop down etc
[Rel] (WoW) Application form + ACP sup. (v3.1) => http://board3.de/viewtopic.php?f=21&t=2663
[Rel] Ventrilo Block + ACP sup.(v1.1) => http://board3.de/viewtopic.php?f=21&t=2665

simonjcook
Active Member
Posts: 12
Joined: 1. September 2009 17:18

Re: [Rel] Ventrilo Block + ACP sup.

Post by simonjcook »

Doh, Thank you.

Some screenies for the mentally challenged might be useful there...

Topic author
Dr Nick^
Valued Contributor
Posts: 81
Joined: 11. August 2009 13:56
Contact:

Re: [Rel] Ventrilo Block + ACP sup.

Post by Dr Nick^ »

you just over read and went to fast ;)
read it back, then the steps make sense and you see how they ment to be :D
[Rel] (WoW) Application form + ACP sup. (v3.1) => http://board3.de/viewtopic.php?f=21&t=2663
[Rel] Ventrilo Block + ACP sup.(v1.1) => http://board3.de/viewtopic.php?f=21&t=2665

simonjcook
Active Member
Posts: 12
Joined: 1. September 2009 17:18

Re: [Rel] Ventrilo Block + ACP sup.

Post by simonjcook »

Thanks Dr Nick,

I have added the config changes in the original post to the ventrilo_srv.ini and restarted the ventrilo service.
I'm currently receiving the error noted below on the portal page when the block is active.

[phpBB Debug] PHP Notice: in file /portal/block/ventrilo_block.php on line 77: array_multisort() [function.array-multisort]: Argument #1 is expected to be an array or a sort flag
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3829: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3831: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3832: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3833: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)

The mod options are configured with the public ip address of the vent server as I noted further up in the thread that someone else had a similar issue and the interface does not accept fully qualified domain names.
Ventrilo Server is version 3.0.4 Win32.

Any pointers most welcome.

Best regards,

Simon

Topic author
Dr Nick^
Valued Contributor
Posts: 81
Joined: 11. August 2009 13:56
Contact:

Re: [Rel] Ventrilo Block + ACP sup.

Post by Dr Nick^ »

heya mate,

i'm trying to setup some test things.
But as stated in first post. Its tested with only 2.1.3 on linux based webserver.
Now i'm testing some things with vt server on windows (local) with a local webserver.

Solved the multisort someway, but now getting other error.
The status script is not rly from me, but just edited to fit inside portal :)
[Rel] (WoW) Application form + ACP sup. (v3.1) => http://board3.de/viewtopic.php?f=21&t=2663
[Rel] Ventrilo Block + ACP sup.(v1.1) => http://board3.de/viewtopic.php?f=21&t=2665

simonjcook
Active Member
Posts: 12
Joined: 1. September 2009 17:18

Re: [Rel] Ventrilo Block + ACP sup.

Post by simonjcook »

Thanks Dr Nick,

I do appreciate your assistance and did note the versions in your post.
I'm sure longer term a number of people will benefit from this troubleshooting exercise.

To clarify the environment:
phpBB3 is running on Linux at the ISP.
I may be able to get more specific details of the server and version if required.
The ventrilo server is running on Windows Server 2003 Enterprise R2 outside of that environment with a public facing static IP address.
It's well established having been running and in use for over a year.

I've rechecked the permissions on the executable and text output file;
From VentriloBlock_install_board3.txt
Find the file: ventrilo_status (note: Linux execute-able)
change the rights to: rwxr-xr-x OR 755

Find the file: ventrilo_status.txt (note: Local cache file)
change the rights to: rw-rw-rw- OR 0666
I took the second permission to be 666
If you want to test by pointing your test environment at my ventrilo server that's fine I can supply you the public IP address.
We may then be able to determine if it's a file edit issue or not.

Best regards,

Simon
Last edited by simonjcook on 2. September 2009 17:06, edited 2 times in total.

neo4u
Active Member
Posts: 15
Joined: 2. September 2009 15:57
phpBB.com User: neo4u

Re: [Rel] Ventrilo Block + ACP sup.

Post by neo4u »

Hi there I have installed your mod but all i get is a message saying that the server is down.

Obviously im missing something here can you point me in the right direction please.

to be honest im not sure what im mena to do with the bit at the top of the page

Code: Select all

[Intf]
[Status]
Intf=0.0.0.0
Password=
ReplyInterval=500

Topic author
Dr Nick^
Valued Contributor
Posts: 81
Joined: 11. August 2009 13:56
Contact:

Re: [Rel] Ventrilo Block + ACP sup.

Post by Dr Nick^ »

Hey,

if you installed everything correct. and its saying server down,
then ppb you dont have status rights.

That code you posted, must go in the ventrilo_srv.ini
on the bottom line (in older versions eq 2.1.3 there are some example lines there)
If you have done that, save your file, close it. and restart ventrilo.
Then try if it works.
[Rel] (WoW) Application form + ACP sup. (v3.1) => http://board3.de/viewtopic.php?f=21&t=2663
[Rel] Ventrilo Block + ACP sup.(v1.1) => http://board3.de/viewtopic.php?f=21&t=2665

neo4u
Active Member
Posts: 15
Joined: 2. September 2009 15:57
phpBB.com User: neo4u

Re: [Rel] Ventrilo Block + ACP sup.

Post by neo4u »

I have set the two files to correct permissions.

And added the code to the ini file but it still says server down.

Anything else it could be ?

Topic author
Dr Nick^
Valued Contributor
Posts: 81
Joined: 11. August 2009 13:56
Contact:

Re: [Rel] Ventrilo Block + ACP sup.

Post by Dr Nick^ »

got interrupted while posting reply.

But it can be that the server is rejecting inc UDP requests or something,
but most of the time it should work if you are able to connect to vent.

To be sure, you can check firewall settings.

It could be cache file. But it more or less looks like firewall rejecting you.
Or ini file not saved correctly.
[Rel] (WoW) Application form + ACP sup. (v3.1) => http://board3.de/viewtopic.php?f=21&t=2663
[Rel] Ventrilo Block + ACP sup.(v1.1) => http://board3.de/viewtopic.php?f=21&t=2665
Locked

Return to “board3 Portal v1.0.x - Modifications”