Войти или зарегистрироваться
Галь, у тебя тоже адреса нет! А как прикреплять файл к сообщению от форума я не знаю!
1. ""Hello Friends, Will any body help to rum two forums in one database. What will be the possible solutions. as two forums will be on the same server and i don't have option to add new database. Please suggest me the possible solution as i am not technicaly sound in SQl, Please help me.""
Ответ: ""Web Wiz Forums is designed so that you can use two forums on the same site using the same SQL Database.
What you will need to do is for one of the forums edit the file includes/setup_options.asp, in notepad, and change the following prefixes:-
Const strCookieName = ""WWF"" Const strAppPrefix = ""WWF"" Const strDbTable = ""tbl""
Change the parts in red to a new name, this will change the prefix name for cookies, application variables, and the database tables for one of your forums.
Then just run the setup instructions the same as you would for a normal setup.
Once complete you can have two different forum systems running on the same site and using just the one SQL Server database.""
Мой переводчик выдает вот что непонятное в ответе:
""Форумы Web Wiz разработаны чтобы Вы можете использовать два форума в том же сайте, использовавшем ту же Базу данных SQL.
Что вам понадобится делать, - для одного из редактирования форумов файл includes/setup_options.asp, в записной книжке и изменяет следующие префиксы:-
Измените части в красном в новое имя, это изменит префикс называть в честь cookies, прикладных переменных, и базы данных таблиц для одного из ваших форумов.
Затем только что запустите инструкции установки такие же как и, которые Вы были бы для нормальной установки.
Как только полный, Вы можете иметь две других систем форума, работающих на том же сайте и использование именно один база данных Сервера SQL.""
Так сказать, в чем суть-то? "
""Hi guys, I have a client who would like to possibly set up a second set of the vBulletin PHP files, but have them use the same database. The trick is that he wants it to look different on the second set. So, you would go to one installation and see all the same data, but it looks different. You go to the other installation, same data, but it has its own template. Two forums, one database. The problem I see is that because all templates are database driven, I don't think I'd be able to set up a different default template for one set of files without having that change also take effect as the default template on the other. Does anyone have any input on this? For the vBulletin guys: If you don't think this thread is appropriately placed, please move it. Second, yes, I will be insisting on a second license being bought for the second set of files.""
""You can't have two copies of hte same license running at the same time accessible to the public. You'll violated your li You can make new styles and templates and have it availalbe as a chosen style for your users to use. Doesnt have to be default. Whatever they choose (you can have their styles be chosen when they sign up), will be their ""default"", until they decide to choose another style for their browsing pleasure.""
""I know users can choose their styles, but we want it defaulted. We don't want to have to depend on the user choosing the appropriate style. I'll check the license, you may be right, but it wouldn't make much sense seeing as it basically a second forum with a second license. I don't see how where the data comes from is a big deal.""
""Why dont you create a another style and then include the style in the target arguement? I think this does overide the default template.""
""That's a new one for me....how do you do this? What's the target argument?""
""Using Vbulletin.org as example. Try clicking on all these links. http://www. http://www. http://www. They have created style 1, 4 and 5 What you could do is provide a link with different colour and it leads to the theme OR you dont give them the choice to choose. DARK BLUE PURPLE GREEN""
""I'll be damed. Didn't know you could append a style attribute to the URL like that. Thanks for your help.""
""Not a problem mate. Few things to note though. What if in the profile, the registered users have a preferred template to use? You might want to remove the column to change the template. Your idea of have 2 instance of Vbulletin connecting to the same database will not work since all the templates are stored on the database. Basically, what you have done is created a backup copy of your Vbulletin.""
""I know, but my client has an idea in this regard, and I'm just trying to see if there's a way to make it work. If I can, great. If not, I'll tell him so.""
""Anyway, good luck to your client. I guess the template manipulation will solve his problem Thats is one of the great features of Vbulletin.""
""Question. I specified the styleid in the URL and it worked fine for the new setup. Problem was that I went back to the normal, ""live"" setup and now it looked default! I figured out that what it was doing was seeing the specified style in the URL and modifying my own profile to that style. So, wherever I visit a forum using the same database, if the template is user selectable, I see this default style. Is there any way to NOT save the style defintion in the profile, this way I can visit one set of files and it looks one way, go back to the ""live"" forum and it looks as it should? Or is this just the way vBulletin does its business?""
""I am interested in a possible solution, too. is there something new about this? Thank you""
""Solution for what? Multiple boards on one database? If so, that would be extremely hard to do, as you would have to edit ALL the vB PHP Files and change all the table names""
""there is a hack for this... look at my site..http://www. different looks (different languages) pull-down menu, with user defaults.""
""Quote: Originally posted by Cary Solution for what? Multiple boards on one database? If so, that would be extremely hard to do, as you would have to edit ALL the vB PHP Files and change all the table names.
No, not that A client would like to integrate my forum into his site. That should be easy. Now the problem: he would like to present the forum in ""his"" design. The problem is, that i am using already different templateseta, which are assigned to my different forums - and I would need to assign a secon templateset to each forum... I hope the problem got clearer now """
Горожанин, Игорь, понимаешь, месяц голову ломаю над тем, чтобы было несколько совершенно разных по дизайну и тематике форумов, но одна база пользователей. То есть, ты был бы и на первом, и на втором, и на пятом- горожанином, с тем же паролем и общим количеством сообщений. Пробовала уже править php-шки везде, где они ссылаются на members- не получилось. Потом муж ковырялся- вроде получилось- регишься- и появляешься сразу на всех форумах- но зайти почему-то не можешь!!! Причем ругается, что ""проверьте настройки куки!"" Ну, думаешь,ага, понятно, не дает, потому как уже есть кук предыдущий, лезешь трешь его- а все равно не дает! Муж уже влез в какие-то совсем дебри, смотрит на меня квадратными глазами , а я вот думаю- может кто-то все-таки знает, как это сделать? А мы тут изобретаем велосипеды с самокатами... "
А я словами ему уже столько всего пересказала! Половину, правда, сама сделаю Да и вообще- главное- идея А реализация- это уже дело техники."
все объявления добавить свое