vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - vbNetwork - share forums with other boards (https://vborg.vbsupport.ru/showthread.php?t=245942)

zethon 07-04-2010 10:00 PM

vbNetwork - share forums with other boards
 
1 Attachment(s)
vbNetwork

Summary
This add-on gives you the ability to share forums with other message boards without having to share any database information. The plugin uses webservices to share posts.

Release Notes
Currently the installation is easy but if you want to set up and run your own network it will help if you're familiar with XML. Joining an already existing network is fairly simple.

If you would like my help writing versions for phpBB, IPB or other message board software, please feel free to contact me.

If you are interested you can join my existing network, but please note that it is mostly a trolling-based community of boards. Feel free to start your own network with other boards.

Product Specifications
  1. several plugins
  2. one cron job
  3. file uploads
  4. new DB tables
  5. several phrases

Installation
Approx 2-5 mins
See the included installation instructions.
Upgrading/Updating
  1. upload all files in the upload directory, overwriting any existing files
  2. re-import the XML file, setting "Overwrite" to "Yes"

Configuration
See the included documentation for details.
Support

If you encounter problems or discover any bugs, please create a new issue at: http://code.google.com/p/vbnetwork/issues/list

Sample
This is one shared forum on three different boards (WARNING: the content of these forums may be NSFW).
http://www.anothermessageboard.com/f...splay.php?f=29
http://www.juot.net/forums/forumdisplay.php?f=50
http://www.drunkensquirrel.net/com/f...splay.php?f=28
PLEASE CLICK INSTALL!

ZomgStuff 07-05-2010 08:37 PM

My site is ZomgStuff.net

If anyone wants to setup a network with me, shoot me a PM.

Centrix 07-05-2010 08:54 PM

hmm interesting. and people can reply on your own forum to posts originally posted on an other board?

or do they get redirected to that other board when they want to reply

LuisManson 07-05-2010 09:50 PM

this is very interesting...
if someone has a running forum about android feel free to askme about networking
* my site is about android, in spanish

Xencored 07-05-2010 10:37 PM

Wow Awesome mod
only thing which pops in my head is
security for some-reason is this safe to use?

KevinL 07-05-2010 10:57 PM

This reminds me of the 'Zoints' addon.

Nice work.

klaus 07-05-2010 11:25 PM

If it's like newsgroup but only among Vbulletin forums then this is an amazing add-on.

Will try it out.

AtomicAcidbath 07-05-2010 11:51 PM

Oh yes, this has wonderful possibilities.
Anyone remember FidoNet from the BBS days?

zethon 07-05-2010 11:52 PM

Quote:

Originally Posted by Centrix (Post 2064981)
hmm interesting. and people can reply on your own forum to posts originally posted on an other board?

or do they get redirected to that other board when they want to reply

No one gets redirected. If I'm a member of Board A and I write a reply, it will show up on Board A as a normal post. Though, on Board B my response will show up like a guest post. Check out the links I provided for an example.

Quote:

Originally Posted by Animemike (Post 2065012)
Wow Awesome mod
only thing which pops in my head is
security for some-reason is this safe to use?

The webservice requires a authentication. The instructions tell you how to secure your network.

Quote:

Originally Posted by klaus (Post 2065028)
If it's like newsgroup but only among Vbulletin forums then this is an amazing add-on.

Will try it out.

The idea is that it can network not just vbulletin board with other vbulletin boards, but with boards of any software.

AtomicAcidbath 07-06-2010 12:27 AM

Uh oh.
Bug found and added to project issues tracking.
Does not play well with prefixed tables.

Found it in networkforum.php
7 occurrences where references to table network_sub should be.
Code:

" . TABLE_PREFIX . "network_sub

soupgnatzee 07-06-2010 12:30 AM

This looks very interesting!!

slinky 07-06-2010 02:37 AM

How about issues of duplicate content in Google? Has anyone considered this - although it is a VERY neat hack!

merk_aus 07-06-2010 02:52 AM

Thanks for this much appreciated...

cbehan 07-06-2010 03:09 AM

This is very interesting. I'm very interested in networking some phpbb installs with my vBulletin install.

Is something like this in the works?

Trek 07-06-2010 03:29 AM

Quote:

Originally Posted by AtomicAcidbath (Post 2065031)
Oh yes, this has wonderful possibilities.
Anyone remember FidoNet from the BBS days?

Exactly what I was thinking. =) Although I hope the setup for this would be much easier than those node configs could be at times! ;)

AtomicAcidbath 07-06-2010 08:38 AM

A couple other omissions I found in the package:
file /network/service.php missing php declaration at top of page
Has:
Code:

<?
Should read:
Code:

<?php
File Product-network.4.0.X.xml should have these lines included to get rid of warning(s) in control panel:
Code:

                        <phrase name="vbn_added_network_forum_successfully" date="1161992074" username="" version="0.1"><![CDATA[Added network forum successfully.]]></phrase>
                        <phrase name="vbn_added_board_to_forum_successfully" date="1161992074" username="" version="0.1"><![CDATA[Added board to forum successfully.]]></phrase>

Seems fairly straight-forward to set up, but I can't be sure I've done it right with no connection at the other end.

goran424 07-06-2010 08:41 AM

This looks amazing, can't believe such thing is possible.
Anyone willing to share Network on Motorcycles? My forum deals with Thai Motorcycle Scene (English language). Tagged until someone responds.

sticky 07-06-2010 08:52 AM

Is there any way to network and share database information? For example, share the userbase and have the same log in on both?

LCN2007 07-06-2010 12:37 PM

How will this affect SEO? I mean having a link to your site in every post?

cloferba 07-06-2010 04:04 PM

demo?

strudinox 07-06-2010 06:34 PM

Interesting idea. I'd really like to know how this effects SEO before I make it live. I'd like to start up a gaming/tech network if this doesn't have any negative effects on my boards.

trophyrider 07-06-2010 11:35 PM

Quote:

Originally Posted by goran424 (Post 2065170)
This looks amazing, can't believe such thing is possible.
Anyone willing to share Network on Motorcycles? My forum deals with Thai Motorcycle Scene (English language). Tagged until someone responds.

We'll try it with you! Our group is the Motorcycle Sport Touring Association. Visit us at http://www.sporttouring.us.

PM me and I'll send you my email address.

trophyrider 07-07-2010 12:22 AM

Well, maybe best to back away from this mod at the moment until some of the bugs are worked out. I get a database error when I click on the network forum manager link...

Database error in vBulletin 4.0.4:

Invalid SQL:

SELECT DISTINCT subid FROM vb_network_sub
WHERE (network_sub.networkid = 1)
ORDER BY subid;

MySQL Error : Unknown column 'network_sub.networkid' in 'where clause'
Error Number : 1054
Request Date : Tuesday, July 6th 2010 @ 08:16:53 PM
Error Date : Tuesday, July 6th 2010 @ 08:16:53 PM
Script : http://www.sporttouring.us/admincp/networkforum.php
Referrer : http://www.sporttouring.us/admincp/index.php?do=nav
IP Address : 98.108.23.234
Username : VersysRider
Classname : vB_Database
MySQL Version : 5.0.91-community

CrosseyedGamer 07-07-2010 12:41 AM

This is rather interesting for sure. I run a social website for gamers which has unique articles and other gaming related info. If there are any gaming websites that wish to network up to share news, game reviews or whatever let me know.

Going to tag and watch to see how the bugs get worked out.

TyPenn613 07-08-2010 11:24 AM

I would be curious if you could label the guests. For instance, if I link with another forum called Forum X. If Forum X makes a post that shows up on my site as a guest, it would be nice to have it show up under a generic Forum X username, so that people on my site could find the other forum, and vice-versa. This would be particularly helpful for sites that link with 2 or more others. Just a thought.

Also, maybe I'm blind and missing something, but is there a way to decide which forums these guest posts show up in? How would a thread on another site know which forum to go into on my site?

x626xblack 07-08-2010 11:33 AM

I have a gaming site also if anyone is interested. Not touching this one though until some of the questions are answered and some bugs are worked out.

zethon 07-08-2010 02:04 PM

Quote:

Originally Posted by AtomicAcidbath (Post 2065166)
A couple other omissions I found in the package:
file /network/service.php missing php declaration at top of page
Has:
Code:

<?
Should read:
Code:

<?php
File Product-network.4.0.X.xml should have these lines included to get rid of warning(s) in control panel:
Code:

                        <phrase name="vbn_added_network_forum_successfully" date="1161992074" username="" version="0.1"><![CDATA[Added network forum successfully.]]></phrase>
                        <phrase name="vbn_added_board_to_forum_successfully" date="1161992074" username="" version="0.1"><![CDATA[Added board to forum successfully.]]></phrase>

Seems fairly straight-forward to set up, but I can't be sure I've done it right with no connection at the other end.

I have a few bug fixes which I will post later. Thank you for logging the issues in the Google Project.

Quote:

Originally Posted by sticky (Post 2065178)
Is there any way to network and share database information? For example, share the userbase and have the same log in on both?

No. But there is an option in the AdminCP to turn on email syncing (or whatever I called it). This works as follows: UserX registers with the same email address on BoardA and BoardB (assume they are also networked). If UserX then posts on BoardA, his post will show up as his user account on BoardB and not as a Guest post. This option has to be turned on in the AdminCP and the user must have the same email address on both boards.

Quote:

Originally Posted by TyPenn613 (Post 2066304)
Also, maybe I'm blind and missing something, but is there a way to decide which forums these guest posts show up in? How would a thread on another site know which forum to go into on my site?

In the Forum Manager at the bottom, you can select which network and network forum a particular forum is configured to. This is explained in the docs.

Quote:

Originally Posted by AtomicAcidbath (Post 2065031)
Oh yes, this has wonderful possibilities.
Anyone remember FidoNet from the BBS days?

That was exactly my inspiration for writing this plugin. :)

goran424 07-08-2010 08:38 PM

Quote:

Originally Posted by trophyrider (Post 2065577)
We'll try it with you! Our group is the Motorcycle Sport Touring Association. Visit us at http://www.sporttouring.us.

PM me and I'll send you my email address.

Ok, PM sent.

TyPenn613 07-09-2010 10:39 AM

Sorry to repost, but is there anything that can be done like this?

I would be curious if you could label the guests. For instance, if I link with another forum called Forum X. If Forum X makes a post that shows up on my site as a guest, it would be nice to have it show up under a generic Forum X username, so that people on my site could find the other forum, and vice-versa. This would be particularly helpful for sites that link with 2 or more others. Just a thought.

zethon 07-09-2010 11:21 AM

Quote:

Originally Posted by TyPenn613 (Post 2066766)
Sorry to repost, but is there anything that can be done like this?

I would be curious if you could label the guests. For instance, if I link with another forum called Forum X. If Forum X makes a post that shows up on my site as a guest, it would be nice to have it show up under a generic Forum X username, so that people on my site could find the other forum, and vice-versa. This would be particularly helpful for sites that link with 2 or more others. Just a thought.

Each post coming from a remote board has a message appended to it stating the originating board. For example, a post from my board to another board may look something like:

Quote:

Oh my god! You guys are so lame!

__________________
Originally posted at www.anothermessageboard.com
Here is a work safe example of a post made on my board that appears on a remote board via my network plugin:

http://www.drunkensquirrel.net/com/s...00&postcount=9

This way people are able to find the remote board. But there is no (easy) way to make all posts show up under the same generic ForumX username, which is what I think you're asking for.

Actually, looking at that post reminds me of an undocumented feature of the plugin that does allows boards to grab the avatar of the remote users. I will document this tonight and upload my bug fixes as well.

session-one 07-09-2010 11:54 AM

if someone has an anime, gaming, or if you find that our boards will be associated pm me...

my url is http://www.sessionone.net .. this seems like a good idea and i'd like to join a network or form one :)

TyPenn613 07-12-2010 02:27 AM

Thanks zethon! Nice work.

murekhalir 07-12-2010 03:53 AM

How about, instead of creating simliar posts, create a mod that can duplicate user logins.

When I think of network, I think of being able to use one login. to login to mulitpe vbulletins.

Unsure why there hasn't been a solution for this yet!

AtomicAcidbath 07-13-2010 01:12 AM

[Edit]got it working.

Unusual characters in Member Name causes XML parser error.
(example: Name "??b" prevents the XML package from being accepted)

To fix:

in file /network/functions_network.php find:
Code:

            if (!file_exists($workingfile))
            {
                  $xmlstr = "<package networkname='".(strtolower($networkinfo['name']))."'>\n";

Replace:
Code:

            if (!file_exists($workingfile))
            {
                  $xmlstr = "<?xml version=\"1.0\" encoding=\"windows-1252\" ?>\n";
                  $xmlstr .= "<package networkname='".(strtolower($networkinfo['name']))."'>\n";


Centrix 07-14-2010 04:39 PM

Is it possible for one-way traffic as well? Like, my forum takes info from an other board that doesnt have this mod installed, but that board does nothing with mine.

VonDoom 07-14-2010 06:51 PM

Quote:

Installation
Approx 2-5 mins
See the included installation instructions.

Serious Epic fail for me.. haha ive been working on this for at least an hour probably closer to two. Bla (ok in fairness it did only take a cpl minutes to install.. Configuration on the other hand Oui..)

I dont get the documentation, I just cant get this to work.. Spent a cpl hours putting everything together, But the whole process must just be over my head..

zethon 07-14-2010 07:08 PM

Quote:

Originally Posted by Centrix (Post 2069124)
Is it possible for one-way traffic as well? Like, my forum takes info from an other board that doesnt have this mod installed, but that board does nothing with mine.

No, not with this plugin.

Quote:

Originally Posted by VonDoom (Post 2069182)
Serious Epic fail for me.. haha ive been working on this for at least an hour probably closer to two. Bla (ok in fairness it did only take a cpl minutes to install.. Configuration on the other hand Oui..)

I dont get the documentation, I just cant get this to work.. Spent a cpl hours putting everything together, But the whole process must just be over my head..

I suppose I should specify more. If you are joining an existing network, the setup time is roughly 2-5 minutes. If you're starting your own network, then it's a little trickier.

VonDoom 07-14-2010 07:31 PM

Yeah im building my own network between a cpl of my Dog specific forums..

sticky 07-15-2010 02:18 PM

Quote:

Originally Posted by murekhalir (Post 2067901)
How about, instead of creating simliar posts, create a mod that can duplicate user logins.

When I think of network, I think of being able to use one login. to login to mulitpe vbulletins.

Unsure why there hasn't been a solution for this yet!

I don't know either, the demand for this is huge.

cloferba 07-15-2010 03:04 PM

i cant understand exactly what this mod does :S


All times are GMT. The time now is 04:56 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.02579 seconds
  • Memory Usage 1,847KB
  • 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
  • (9)bbcode_code_printable
  • (16)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