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)
-   -   Major Additions - CERBERUS: 1 vB4: runs multiple domains with custom styles, forums, universal login (https://vborg.vbsupport.ru/showthread.php?t=254197)

KW802 12-12-2010 08:36 PM

Quote:

Originally Posted by El Intocable (Post 2132952)
By doing this I believe I will lose all the Template edits I have done to the forum, not a good idea to do. maybe there will be another way to correct this

You shouldn't lose anything at all.

Quote:

Originally Posted by El Intocable (Post 2132954)
I have done everything on this thread and still cant get it to work correctly with the style distortion I currently have. lol

Any help or any other ideas?
Thanks guys

Did you see what Sticky's issue was about 7 or 8 posts up? His forum path settings were wrong. Head into "ACP => Settings => Options => Site Name / URL / Contact Details" and then verify your values for "Forum URL" and "Homepage URL" are correct.

sticky 12-12-2010 09:30 PM

Quote:

Originally Posted by El Intocable (Post 2132961)
I will continue to read this thread to see if there will be a better way to do this. I really need this mod for sure. If anyone willing to help me out I will appreciate even If I have to make a small donation for the help. As I see all I need is the configuration because the sub-domain is done and anything else. Is just the style break up the problem now.

Thanks you guys a lot

It seems hard at first but it really isn't that bad.

I also asked you a few times what version you were running...

sticky 12-12-2010 09:31 PM

Quote:

Originally Posted by El Intocable (Post 2132952)
By doing this I believe I will lose all the Template edits I have done to the forum, not a good idea to do. maybe there will be another way to correct this

No, you will not.

FReeSTER 12-12-2010 09:32 PM

Quote:

Originally Posted by KW802 (Post 2133005)
You shouldn't lose anything at all.


Did you see what Sticky's issue was about 7 or 8 posts up? His forum path settings were wrong. Head into "ACP => Settings => Options => Site Name / URL / Contact Details" and then verify your values for "Forum URL" and "Homepage URL" are correct.

ok, everything seen to be ok on that part but maybe the settings I have on this mod are incorrect. I will PM you my settings to see if you see anything wrong.

Thank you so much for helping

FReeSTER 12-12-2010 09:34 PM

Quote:

Originally Posted by sticky (Post 2133025)
It seems hard at first but it really isn't that bad.

I also asked you a few times what version you were running...

I have vB 4.0.8 pl2

sticky 12-13-2010 01:07 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2132868)
Basically you go to the plugin named "Forum Display"

Look through the code, look for all instances if $forumid and change it to something else, like $forumidx

If you want this is the entire plugin with the variable name changed to $forumidz

Just wanted to say thank you :) It was very simple in actuality looking at it, no big deal.

I can definitely see why this mod isn't supported though, lol.

Thanks.

sticky 12-13-2010 04:20 AM

Having an issue uploading attachments on the second domain, wondering if it is a similar fix like the no permission issue?

Edit: Actually, attachments on both aren't being allowed to be uploaded.

TheLastSuperman 12-13-2010 05:37 AM

Quote:

Originally Posted by sticky (Post 2133135)
Having an issue uploading attachments on the second domain, wondering if it is a similar fix like the no permission issue?

Edit: Actually, attachments on both aren't being allowed to be uploaded.

Check the folders CHMOD permissions, in Filezilla it's right click the folder and choose permissions, if it's still 644 that won't work, most likely it needs to be 755 or 777 and while your at it, it's always best to confirm if a index.php file is in that same folder and if not upload a blank one so no one can simply view the folder and all files.

Edit: Now that I read what BirdofPrey put I realize you may be referring to this:

Quote:

Originally Posted by KW802 (Post 2128941)
OK, had a strange issue...

I have my forums grouped together in three major cats. For example...
Category 100
- Forum 101
- Forum 102
- Forum 103

Category 200
- Forum 201
- Forum 202
- Forum 203

Category 300
- Forum 301
- Forum 302
- Forum 303
I have Cerberus configured so that Domain A has access to Category 100 & 200 while Domain B has access to Category 300.

While posting on Domain A in Forum 102 (just for example, but really any forum on Domain A) I was getting a 'No permissions' error. To get around that I disabled the unset permissions line from the "Forum Display" plugin used by Cerberus. Did not solve my problem but allowed me to continue so I could experiment. When I did continue my new thread that I was posting in Forum 102 ended up being posted in Forum 303! :eek:

So I poked around for a bit in the "Forum Display" plugin again and enabled the 'debug' lines so I could see what was going on in what sequence. Sure enough Forum 303 was the last forum ID that was being evaluated and, since I was on Domain A and not Domain B, it was removing that forum ID from the cache & permissions.

Going back to posting a new thread I did a view source on the page and could see that even though I was posting to Forum 102 in the URL the various buttons (eg: preview, save, etc.) were all referencing forum ID 303 instead. That led me to believe then that the variable $forumid being used in the plugin was not being preserved as a local scope variable and was being used by the rest of vB, hence why since forum ID 303 was the last one evaluated then that is where it was thinking I was trying to post to.

To confirm I changed all references in that plugin from $forumid to $forumidx to make it unique and repeated my experiments. Success!

This was with vBulletin 4.0.8 running on PHP 5.2.12 using the version of Cerberus in this thread.

Quote:

Originally Posted by iBaker (Post 2129044)
Thanks KW...having the same problem...couldn't post in any of the different domains due to no permissions...changed all references to forumid to forumidx in that plugin and it worked.

Can you think of any ramifications of doing this?


sticky 12-13-2010 07:12 AM

Quote:

Originally Posted by TheLastSuperman (Post 2133154)
Check the folders CHMOD permissions, in Filezilla it's right click the folder and choose permissions, if it's still 644 that won't work, most likely it needs to be 755 or 777 and while your at it, it's always best to confirm if a index.php file is in that same folder and if not upload a blank one so no one can simply view the folder and all files.

Thank you, but which folder is it that I'm looking to change permissions on? If it is attachments under images it is set to 777.

BirdOPrey5 12-13-2010 03:43 PM

I was able to upload attachments on both domains but my attachments are in the database...

Are your attachments in the database or file system?
Admin CP -> Attachments -> Attachment Storage Type


All times are GMT. The time now is 03:09 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.01518 seconds
  • Memory Usage 1,756KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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