TinyPortal

Development => Support => Topic started by: feeble on October 09, 2006, 02:07:23 PM

Title: SMF-VWar Bridge
Post by: feeble on October 09, 2006, 02:07:23 PM
This mod has been discontinued and no work has been down since DEC 06.
Reason being that I have been working on a new project for SMF to help Clans out managing their Scrims/Matches.
For more information please follow this link HERE (http://www.simplemachines.org/community/index.php?topic=158317.0)


Mod can be Found Here (http://www.leaderless.net/)

Features:
-Assign certain SMF membergroups with a Vwar account(accessgroup, memberstatus and team(optional))
-First time sync: go thrugh all SMF users, if email matches with one in vwar. It will update their VWar account with their SMF information. If account isnt found, creates one for them if they are in the correct SMF membersgroup.
-Send PM to users with newly created VWar accounts with username and password. For filing purposes only.
-Autologin to Vwar. SMF Vwar Users are automatically logged in and out of VWar.
-Safety checks. So that if you set a setting wrong it will warn you, and will not affect your forums.

Change:
1.0 -> 1.1
-FIX:Checks to see if javascript is enabled, then displays appropriate pages for ?action=vwar
-FIX:cookies created correctly now if instance is not empty
-FIX:package now compliant with smf1.1.1

Special thanks to clans helping out:
Tasy Fragism - CSS, everything really (http://tasty-fragism.com/forum/index.php)
4th Eagle Squadron - BF2 & BF2142 Clan (http://www.4theaglesquadron.com/)
Title: Re: Vwar Bridge - Partly Finished
Post by: HaxXxoR on October 09, 2006, 03:55:59 PM
Been waiting for something like this. Keep us updated.
Title: Re: Vwar Bridge - Partly Finished
Post by: Rocket on October 09, 2006, 04:40:53 PM
Wow, very cool.
Title: Re: Vwar Bridge - Partly Finished
Post by: feeble on October 10, 2006, 01:03:54 PM
few images added at the top of the page

nearly done, just need to test it on a demo site. and check for bugs

if you have any special requests, please let me know

still need to write a once off smf->vwar sync. for people with already large database. if not they will have to go into each members profile and update their membergroups.
Title: Re: Vwar Bridge - Partly Finished
Post by: HaxXxoR on October 10, 2006, 10:50:56 PM
That looks very nice i cant wait for you to finish.
Title: Re: Vwar Bridge - Partly Finished
Post by: Glitch on November 06, 2006, 09:11:21 PM
Have you got this up on a demo site yet?

Do you need any help testing your mods (cause I have a few people who can help)?
Title: Re: Vwar Bridge - Partly Finished
Post by: HaxXxoR on November 06, 2006, 09:31:39 PM
There is a demo on my site. Information listed below. Its under extras. I havent fully integrated it into my site yet but is soon to come.
Title: Re: Vwar Bridge - Partly Finished
Post by: feeble on November 06, 2006, 10:21:02 PM
i need to rewrite the login, and creating accounts part of my code. and im also thinking of making it so that 1 smf membergroup matches up with 1 accessgroup, with 1 vwar group.

ill be writing it so that it gets the data from a table, so you can manually add or remove groups.

once that is done, i need to get my vwar page up, its working yes, but for some reason it doesnt work on all websites.

atm its an iframe, which i hate, so im looking into integrating it, which I not looking forward to.
Title: Re: Vwar Bridge - Partly Finished
Post by: Glitch on November 06, 2006, 11:04:22 PM
Nice effort so far :) Will it be able to easily handle multiple clans per site (cause we host 8 and it would be really handy)
Title: Re: Vwar Bridge - Partly Finished
Post by: feeble on November 06, 2006, 11:14:06 PM
what do you mean?

atm im only planning for 1 vwar integration

you have multiple vwars installed?
Title: Re: Vwar Bridge - Partly Finished
Post by: Glitch on November 07, 2006, 01:14:18 AM
Well I run a gaming league site, we provide hosting for all of our clans with a TP+SMF setup and will shortly be also hosting their clan sites (all of this is free BTW).

So we have 8 clans and approx 120 gamers.

So what would be really incredible is if we could have multiple clans hosted, with league signups and stuff, within a vwar type setup.

Dunno if Vwar is the go here, I might have to bite the bullet and pay a pro (or do it myself but thats another story)

So what I'd love is to be able to take members of the different clans and form teams of them to enter into our tournament formats (and have a variable tournament bracket for each tournament)

Hmm.. seems I want more than vwar there though :(
Title: Re: Vwar Bridge - Partly Finished
Post by: feeble on November 07, 2006, 03:03:50 AM
http://www.mygamingladder.com/
or
http://www.nerdclub.net/alp/

don't believe vwar can handle tournaments, just signups mostly
Title: Re: SMF-VWar Bridge - Finished
Post by: -TMG- on November 13, 2006, 07:12:45 AM
hi,

im interested in testing it... im member of a 2on2 esl cs:s team...

until now i dont have any vwar or vwar account... would be a clean installation!
Title: Re: SMF-VWar Bridge - Finished
Post by: WarBirD on November 13, 2006, 08:34:31 AM
I like VWAR but its always so unsecure, thats one of the main problems there. I read almost as much about exploits like "MySQL injection" on VWAR than from NUKE. Its a good tool, no doubt, but the people there seem not really to care much about security.

Other than that I would love to try but I have not just my Webspace to worry about, I also have to take care of my own Root Server and its no secret that people can do bad things when they hacked you.

I doubt all those Security issues have been solved lately.
Title: Re: SMF-VWar Bridge - Finished
Post by: Flex on November 13, 2006, 12:52:51 PM
I've searched thorugh these posts and you guys seem to know what you're talking about but. Anyone care to tell me what VWAR is? and what it does?
Title: Re: SMF-VWar Bridge - Finished
Post by: WarBirD on November 13, 2006, 12:56:20 PM
http://www.vwar.de/
Title: Re: SMF-VWar Bridge - Finished
Post by: Flex on November 13, 2006, 01:04:37 PM
I googled on it and found that very site, but it doesnt tell me anything. Even in the FAQ there's no questions reading: What is VWAR?.. or something like that lol.

Anyway if you can't answer that I am still gonna sleep tonight.
Title: Re: SMF-VWar Bridge - Finished
Post by: WarBirD on November 13, 2006, 01:08:35 PM
VWAR is a team organizing Webtool for Clans etc., here you can see a live example I found.

http://web1.echo673.server4you.de/phpkit/include.php?src=vwar/member.php

I hope this explains it a little. I had it some time ago but the number of possible exploits was just too high. It is handy but I am not sure that this will justify all its leaks. Not sure if its still that way but I just saw they fixed another MySQL Injection leak in September, IÂÃ,´ve read plenty of these in the last year.
Its kinda risky, like trying to risk using NUKE.
Title: Re: SMF-VWar Bridge - Finished
Post by: feeble on November 13, 2006, 10:16:19 PM
Quote from: WarBirD on November 13, 2006, 08:34:31 AM
I like VWAR but its always so unsecure, thats one of the main problems there. I read almost as much about exploits like "MySQL injection" on VWAR than from NUKE. Its a good tool, no doubt, but the people there seem not really to care much about security.

Other than that I would love to try but I have not just my Webspace to worry about, I also have to take care of my own Root Server and its no secret that people can do bad things when they hacked you.

I doubt all those Security issues have been solved lately.

its true that it isn't the most secure, but with this package. random password are made for new users.

also vwar brings out patches whenever these exploits are found. so it is getting secure gradually.

myself speaking, havent had an issue with my vwar.
also, their arent many system like this available on the net so.

ive tried to make my package really secure. ive followed all smf procedures etc. and its all done by smf queries.
Title: Re: SMF-VWar Bridge - Finished
Post by: L3X on November 21, 2006, 07:44:46 AM
Any site running actually this mod with smf+ tp ??

  :-\
Title: Re: SMF-VWar Bridge - Finished
Post by: -TMG- on November 21, 2006, 08:42:15 AM
yeah mine as a test for the 2on2 cs:s ESL Team from my clan

mypage: http://www.thedamned.de
clanpage: http://www.hsl-clan.de
Title: Re: SMF-VWar Bridge - Finished
Post by: Chako on January 16, 2007, 10:10:53 AM
where can I download the smf-vwar bridge pls? cant find a working link :(
Title: Re: SMF-VWar Bridge - Finished
Post by: AzzX on January 23, 2007, 09:13:56 AM
I just downloaded it from Feebles site http://www.leaderless.net/

Nice work!!!
Title: Re: SMF-VWar Bridge - Finished
Post by: feeble on January 23, 2007, 07:11:25 PM
there is a problem with the package since 1.1.1

ill be fixing the package for users who still need to install when i get home from work later tonight
Title: Re: SMF-VWar Bridge - Finished
Post by: L3X on January 23, 2007, 08:34:12 PM
Quote from: AzzX on January 23, 2007, 09:13:56 AM
I just downloaded it from Feebles site http://www.leaderless.net/

Nice work!!!

Ok, the file you download from this site is corrupted.

Any other site to download vwar + bridge ??

And one more question; in which versions of SMF and TinyPortal works this vwar ?

Thanks in advance.
:)
Title: Re: SMF-VWar Bridge - Finished
Post by: feeble on January 24, 2007, 08:51:37 AM
V1.1 has been uploaded
Now 1.1.1 compliant
Changes:
1.0 -> 1.1
-FIX:Checks to see if javascript is enabled, then displays appropriate pages for ?action=vwar
-FIX:cookies created correctly now if instance is not empty
-FIX:package now compliant with smf1.1.1

Download Link (http://www.leaderless.net/index.php?action=tpmod;dl=item12)

QuoteAnd one more question; in which versions of SMF and TinyPortal works this vwar ?
does not require Tinyportal, now require SMF1.1.1 only, since this is the version you should be using anyways
Title: Re: SMF-VWar Bridge - Finished
Post by: AzzX on January 24, 2007, 08:57:54 AM
Thanks Again feeble, Great stuff.
Title: Re: SMF-VWar Bridge - Finished
Post by: L3X on January 24, 2007, 01:48:14 PM
Quote from: feeble on January 24, 2007, 08:51:37 AM
V1.1 has been uploaded
Now 1.1.1 compliant
Changes:
1.0 -> 1.1
-FIX:Checks to see if javascript is enabled, then displays appropriate pages for ?action=vwar
-FIX:cookies created correctly now if instance is not empty
-FIX:package now compliant with smf1.1.1

Download Link (http://www.leaderless.net/index.php?action=tpmod;dl=item12)

QuoteAnd one more question; in which versions of SMF and TinyPortal works this vwar ?
does not require Tinyportal, now require SMF1.1.1 only, since this is the version you should be using anyways

Ok, thank you for your answer, but the CRC error persist when I'm extracting your file: vwar+smfV1.1.tar.gz.

I'm extracting with WinRAR 3.51.  Any advice?
Title: Re: SMF-VWar Bridge - Finished
Post by: feeble on January 24, 2007, 07:13:14 PM
i dont believe winrar can handle tar.gz
try winace
Title: Re: SMF-VWar Bridge - Finished
Post by: L3X on January 24, 2007, 07:17:32 PM
Quote from: feeble on January 24, 2007, 07:13:14 PM
i dont believe winrar can handle tar.gz
try winace

Yeah, winRAR CAN handle tar, gzip, etc. look the attached image.

Your file is packed wrong, sorry.

Better, try pack it with winRAR.  ;)
Title: Re: SMF-VWar Bridge - Finished
Post by: feeble on January 24, 2007, 07:25:49 PM
Quote from: L3X on January 24, 2007, 07:17:32 PM
Quote from: feeble on January 24, 2007, 07:13:14 PM
i dont believe winrar can handle tar.gz
try winace

Yeah, winRAR CAN handle tar, gzip, etc. look the attached image.

Your file is packed wrong, sorry.

Better, try pack it with winRAR.  ;)


wierd, doesnt work in my winrar as well, but works fine in winace and smf has no problems with it, not sure what i can say sorry
Title: Re: SMF-VWar Bridge - Finished
Post by: L3X on January 24, 2007, 07:27:34 PM
Quote from: feeble on January 24, 2007, 07:25:49 PM
Quote from: L3X on January 24, 2007, 07:17:32 PM
Quote from: feeble on January 24, 2007, 07:13:14 PM
i dont believe winrar can handle tar.gz
try winace

Yeah, winRAR CAN handle tar, gzip, etc. look the attached image.

Your file is packed wrong, sorry.

Better, try pack it with winRAR.  ;)


wierd, doesnt work in my winrar as well, but works fine in winace and smf has no problems with it, not sure what i can say sorry

Ok, maybe you can send the vwar files packed with winRAR to my email please?
Title: Re: SMF-VWar Bridge - Finished
Post by: Flex on January 25, 2007, 07:29:10 AM
I got a "test failed" on index.php

1. Execute Code install.php 
2. Extract File ./Sources/Vwarbridge.php 
3. Extract File ./Themes/default/Vwarbridge.template.php 
4. Execute Modification ./index.php Test failed
5. Execute Modification ./Sources/Subs.php Test successful
6. Execute Modification ./Sources/Load.php Test successful
7. Execute Modification ./Sources/Profile.php Test successful
8. Execute Modification ./Sources/ModSettings.php Test successful
9. Execute Modification ./Themes/default/Admin.template.php Test successful
10. Execute Modification ./Themes/default/languages/Help.english.php Test successful
11. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
12. Execute Modification ./Themes/default/languages/Who.english.php Test successful
Title: Re: SMF-VWar Bridge - Finished
Post by: feeble on January 25, 2007, 09:52:34 AM
Quote from: Flex on January 25, 2007, 07:29:10 AM
I got a "test failed" on index.php

1. Execute Code install.php 
2. Extract File ./Sources/Vwarbridge.php 
3. Extract File ./Themes/default/Vwarbridge.template.php 
4. Execute Modification ./index.php Test failed
5. Execute Modification ./Sources/Subs.php Test successful
6. Execute Modification ./Sources/Load.php Test successful
7. Execute Modification ./Sources/Profile.php Test successful
8. Execute Modification ./Sources/ModSettings.php Test successful
9. Execute Modification ./Themes/default/Admin.template.php Test successful
10. Execute Modification ./Themes/default/languages/Help.english.php Test successful
11. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
12. Execute Modification ./Themes/default/languages/Who.english.php Test successful


   <file name="$boarddir/index.php">
      <operation>
         <search position="before"><![CDATA[
require_once($sourcedir . '/Errors.php');
]]></search>
         <add><![CDATA[
require_once($sourcedir . '/Vwarbridge.php');
]]></add>
      </operation>

      <operation>
         <search position="after"><![CDATA[
      'help' => array('Help.php', 'ShowHelp'),
]]></search>
         <add><![CDATA[
      'vwar' => array('Vwarbridge.php', 'ShowVwarbridge'),
]]></add>
      </operation>
   </file>

thats all that is changed with index.php, you can add it manually

possibly another mod has altered this, and stopped it from being testing correctly
Title: Re: SMF-VWar Bridge - Finished
Post by: Flex on January 31, 2007, 05:54:37 AM
Hi, great mod and bridge but I'm keep having these errors in the logs:

8: Undefined index: vaction
File: /home/*****/public_html/Sources/Vwarbridge.php
Line: 78
Title: Re: SMF-VWar Bridge - Finished
Post by: feeble on January 31, 2007, 08:57:07 AM
Quote from: Flex on January 31, 2007, 05:54:37 AM
8: Undefined index: vaction
File: /home/*****/public_html/Sources/Vwarbridge.php
Line: 78

i do know about this, and ill bring out a fix for it soon, but its very minimal, doesnt really affect anything
Title: Re: SMF-VWar Bridge - Finished
Post by: Flex on February 12, 2007, 01:35:32 AM
Quote from: feeble on January 31, 2007, 08:57:07 AM
Quote from: Flex on January 31, 2007, 05:54:37 AM
8: Undefined index: vaction
File: /home/*****/public_html/Sources/Vwarbridge.php
Line: 78

i do know about this, and ill bring out a fix for it soon, but its very minimal, doesnt really affect anything

Hey feeble, Any chances on a fix for the above error? thanks.
Title: Re: SMF-VWar Bridge - Finished
Post by: feeble on March 10, 2007, 07:36:10 PM
Ok couple of things.

Flex: apologies for the lack of a fix for the forum error, ill have a package with a fix up soon.

Also, for the last couple of months ive been designing and making a Vwar type system SMF.

ill be releasing a beta of it in about a month, and will also be looking for input from Clan interested in this for their site to replace Vwar.

What i will be after is things like, issues you have had, the good, and also what you have wanted out of vwar.

the main reason for this, is stated previously, the security issues that come with having vwar installed and also the main issues of getting 1 database of members instead of 2 which comes from having vwar and smf installed

in saying this, that means that I have not, and will not be working on this mod anymore. I will continue to update it as new versions of SMF come out, and fix minor issues with it. but it works pretty well for what it is.
Title: Re: SMF-VWar Bridge
Post by: feeble on March 18, 2007, 12:25:30 PM
This mod has been discontinued and no work has been down since DEC 06.
Reason being that I have been working on a new project for SMF to help Clans out managing their Scrims/Matches.
For more information please follow this link HERE (http://www.simplemachines.org/community/index.php?topic=158317.0)
Title: Re: SMF-VWar Bridge
Post by: iGate on November 19, 2007, 10:24:28 AM
where can i download this........

a link please? i know it has been discontinued