![]() |
Quote:
|
I went another route. I replaced TABLE_PREFIX with MERGE_PREFIX and defined it. Though I merged alot more tables then the ones defined here.
For 3.5.X I had to edit the class_dm.php. These are the two stock lines I needed to edit for a 3.5.X. My forums have been running merged for 1 1/2 years now. Only minor issues come up. class_dm.php(rewrite with your merged value.) Search for $return = $this->db_insert(TABLE_PREFIX, $this->table, $doquery); Search for $return = $this->db_update(TABLE_PREFIX, $this->table, $this->condition, $doquery, $delayed); Other then that, the above hack should work. |
I could pay if anyone can do this for me. I am using 3.5.x
Thanks |
Hi, This is really good info , I want to do something different , I want to to get all the forum posts categories and what ever it has except the skin template , can you please guide me on this. the idea is I want to have a different skin on one of my forum.
|
westpointer is dead
|
hehe ... no, not dead. I think the one poster summed it up well. This is more a concept than an easy to install mod. If you aren't versed in php, I really don't recommend trying this.
:banana: :banana: |
I'm about to try this for 3.5.4 right now. I have a site ready to launch, and I'm this is all I need for it. Just to let you know, I assumed I would have to figure this out myself untill I googled "vbulletin same login on multiple forums".
Whether this works or not, I want to thank Westpointer for this BEFORE I start cursing and screaming. Here goes. I'm not optomistic. If you don't hear back from me shortly assume the worst and don't try it on 3.5.4. |
I should note, I backedup the entire new forum directory, so my numbers may be off here, especially since I see them replacing things in the install dir. I just thought better safe than sorry since their may be more things that needed changes made in them than 3.0.8 did.
First replace... 597 replaced in 315 documents. Second replace... 8 replaced in 315. Third replace... 77 replaced in 315. #8 - changed [ . TABLE_PREFIX . $idname] to [. "$idname] on line 1242 of /includes/functions.php print_chooser_row (with two o's) starts on line 1497 of /includes/adminfunctions.php. started replacement at 1506, but I'm not sure I did it right. I replaced Code:
if (!is_array($GLOBALS["$cachename"])) Code:
if ($tableid == "user" OR $tableid == "usergroup") { construct_style_choose starts on line 166. Replaced on line 175, Code:
$tableid = $tablename . "id"; Code:
$tableid = $tablename . "id"; |
whhew, I'm glad I documented that... cause it worked.... er, almost.
The PM's are screwed up. I can compose and send them... but I can't read them. Even if I send one, I can't view it in my sent items folder. When I switch between the forums they both show the same thing (2 messages in inbox) and when I go to my PM folder the space where the PM title should be is blank. There are still two rows in the table (one for each message) and there is even that little check box on the right to mark them for deletion. Only problem is with no title to the message, I can't view the message. Bottom line, everyone has been bugging to get this ported to 3.5.x, but nobody just went through it to see if it would work. It almost did. All you have to do is follow the directions carefully. Westpoint - excellent job here on this hack. Your time and efforts are greatly appreciated by everyone here, regardless of how they express it. Hopefully you or someone here will be able to get the PM issue fixed. It looks like something small, cause I'm not getting any error messages. Unfortunatly I don't know how vb works well enough to figure it out myself. |
Well, I spoke too soon. Registration is completely jacked up. Depending on which forum you register in, you'll have different problems. Undoing all the work.
Cheers, and hopefully someone will have more sucess than I, and maybe my experiment will help a little. |
I found more details, but it doesnt' seem like anyone cares... Anyway, if you register in the forum that doesn't use the prefix, everything is find. If you register in any of the other forums, things get very squirrly.
|
dicb, is it work properly in 3.5.4 now?
|
I 've managed it working in 3.54 now trying to make it work whith the users in a special user database.
|
I have everything working as well except when registering a new user from the new forums. It is still adding it to the new database user table instead of the old existing. Does anyone have any helpfull tips on where to find the insert statement that adds in a new user.
Any help is appreciated Thanks |
Ok got past the previous post problem. The current issue is in the Private Messaging. Whe I send a PM from the new site I get no error message and the message shows in my sent items however does not show in my inbox. I looked in the database and in table pmtext I can see the PM inside of table PM I see one entry which would be what shows in my PM box. What I don't see is the second entry that would allow it to show in my inbox.
I have been over the code way to many times and I think I am just missing it somewhere any help would be appreciated. It is really hard to find problems when there is no errors. Thanks |
Ok not sure if anyone is interested or how I could distribute this but I have the entire program working just I didn't keep track of the changes needed to make it work. Can I just remove my license key from all files and zip all the files together? I don't know what the rules are and how to go about this. I have it working on V3.5.
Any help would be great, Thanks |
Could you please show me the demo?
Thanks |
The demo would be
forums.everything2stroke.com and forums.everythingmx.com I am still looking into how I can package this to make it easy to distribute |
Works great, just signed up on both *well, just on 1 ;)*
I hope you'll find your way around re-packaging the mod, really looking forward to test it on my board(s) |
Quote:
|
Yeah you're not allowed to display full source code, good luck with repackaging it -- it'd be an excellent hack!
|
Yeah I asked a Moderator and that is what they told me. I am however still going to work on getting instructions setup to make this work. They led me to a compare program so I am going thru and comparing the files and seeing what all that I changed.
I promise I will get this up soon as possible. I know this was a huge thing for me to be able to get another site up and running. I did successfully take the code off the second site and install it to a now third site with very little work so once you get it done once I think the sky is the limit on creating new sites. I will post links to the directions once I get them up |
Ok guys here it is
https://vborg.vbsupport.ru/showthread.php?t=118473 westpointer I hope you don't mind i used bits and pieces of your directions to save time. I did give credit so I hope that is ok If you have any questions about this modification please post in the new thread above. Thanks |
Quote:
|
im using 3.6.x can some do this for me? pm me please.. THANKS
|
Quote:
|
is it possible to run something like this across multiple servers?
I run a big board (90k members, 1.5 million posts and 1.3 million visits a month) and am wanting to expand into multiple other forums. Basically setting up about thirty other forums (when it is all done) and having each current user being automatically registered, and all new members being able to auto register across all forums no matter which one they sign up on. Since my site allows image uploads and is art heavy, I do not think a single server is possible when it is all said and done. I will need many servers eventually. If anyone can assist me with this, please let me know at jmanley@massiveblack.com The site is called conceptart.org and you can find the forums link atop the page. We are making a photography forums, a fine art forums and some other areas. Please advise...just talented artists here, not many programmers. Jason |
I'm experimenting with that right now with vb 3.6.8. I "think" that it's possible given all the right conditions. I'll post back here in a week or so with my results.
|
Quote:
|
Quote:
Those two forums are on the same server ... but if you really want to see the potential, go to www.brentandmary.net/vb36 (login is acg, 99acg99). Now that rocks! That's three databases on two different servers tied into the same vb user login. Now ... I just gotta find the time to document how to do it. For those who can get a command line, I think I can do a unix script that would all the changes automagically in seconds! Why vb doesn't support this is a mystery to me. The easily could. |
I don't mind doing the edits, I just need to know what to do. (drool)...
|
me too, I need this!
|
Is there any more information on this?
Much appreciated...truly. JM |
I would really like this as well.
|
Cross-server is just what I'm looking for! :D :D Have you had a chance to document it yet?
thanks! |
any up for this on 3.6.8 or 3.7 ?
cyberranger your my hero! please share! |
Is this available?
|
I know this is a very old thread, but I am still running 3.0.xx and I need to build a second site which will use the user tables of my first one, so here I am.
I would like to know how the "sessions" are handled. I have some questions here and I would appreciate if someone can answer them for me. Let's assume two sites, A and B. With this hack, all user information is kept in the "user" table in database A. A member of site A logs in Site B. Obviously, since the last login time is stored in the shared user table, the last login time entered in the table, will be common for both sites, correct? So if the member comes back after two days and logs in site A, the last login time will be the last login time from his visit in site B. That means that if the user asks to see the new posts since his last visit (for example), the posts shown to him will not be correct, he will miss the posts between the last time he visited site A and the time he visited site B. Am I correct on this? It is of course possible to alter the user table to have separate columns for these time parameters for site A and site B. Another question: again, let's suppose that a member logs in site B, does some work there and then follows a link to site A. Will he still be logged in in site A or will he need to re-log in in the other site? In other words, how are cookies handled? And what difference will it make if someone uses the "Remember me" checkbox in one site? Finally a code question: the author suggests that we use a new table prefix for the new database "new_". The changes suggested show an empty table prefix though, for the old database. Shall I assume that wherever it is suggested to replace " . TABLE_PREFIX . " with ".", if one uses a prefix in the old database, he should replace " . TABLE_PREFIX . " with whatever his old table prefix is? I guess one could define something like "USER_TABLE_PREFIX" with the value of the table prefix used in the first site, and do the find and replace operations you suggest? Again, I am aware this is an old hack, which has already been ported to later vB releases, but since I do not plan to use later releases, and this thing is pressing me, I would certainly appreciate any help you can give me. |
All times are GMT. The time now is 04:20 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|