![]() |
Fixing BBS
Fixing the “Memo” tab:
Problem: Missing table. Fix: Code:
USE [lin2comm]-------------- Fixing the “Region” tab: Problem: Missing data from board_list Fix: In board_list there is a column named “location”. Setting Location to 0 makes the board section universal. Any number other than 0 is matched with the “bbs=” line in setting.txt. Note that race bans (example below) apply to the regional tab. Example: In setting.txt: (Snippets) point_name=[darkelf_town] banned_race={elf;[elf_town]} bbs=3 point_name=[elf_town] banned_race={darkelf;[darkelf_town]} bbs=4 Light elves in darkelf_town would be redirected to the Regional BBS for elf_town, while Dark Elves in elf_town would be redirected to the Regional BBS for darkelf_town. Location Data: Regional - Talking Island Territory 1 Regional - Gludin/Gludio Territory 2 Regional - Dark Elf Territory 3 Regional - Elf Territory 4 Regional - Dion Territory 5 Regional - Giran Territory 6 Regional - Neutral Zone Territory 7 Regional - Orc Territory 8 Regional - Dwarf Territory 9 Regional - Oren 10 Regional - Hunters Villiage 11 Regional - Innadril Territory 12 Regional - Aden Territory 13 Regional - Rune Territory 14 Regional - Goddard Territory 15 -------------- Fixing the “Title” dropdown box: Problem: When posting the “Title” dropdown box is empty, which prevents you from posting. Fix: The contents of the dropdown box are basically called “Keywords”. This can be fixed by properly creating the table in SQL. In board_list there is a “keyword_type” column (int). This column has to be matched to board_keyword (field_type). Example: In lin2comm.dbo.board_list: Board name: Example Keyword Type: 0 In lin2comm.dbo.board_keyword: field_key: “Post” field_desc: “Post” field_type: 0 field_order: 0 field_id: (identity) field_key: “Re:” field_desc: “Reply” field_type: 0 field_order: 1 field_id: (identity) -------------- Creating new sections: Example (SQL): Code:
USE [lin2comm]@parent_bid – Used to create sub forums (?) ID of “parent” board. 0 for no parent. @name – Name of the board @description – Description of the board @type – 1 (System) 4 (User) @admin – Displayed admin name @permission – 2 (Read Only) 4 (Read / Post) 12 (Read / Post / Reply) 255 (Advanced) @world_id – World ID (tied to lin2comm.dbo.board_worldname ?) @keyword – Explained above, Keyword_type @location – Explained above, Regional or 0 for universal @classid – Unchecked @pledge_id – Unchecked @page_size – Posts displayed per page -------------- Adding board moderators: (This was quickly added) Open board_rest table char_id = Moderators character ID pledge_id = Leave this at 0 bid = bid number of the section for which this character is moderator (board_list) world_id = Generally set to 1 permission = 255 to give them a full permission set rest_id is an identity, leave it alone. If you have any further questions or need help, just ask. |
very nice share
|
Jeez 50+ views and only one response, Thanks Thal ^^
|
congrats my friend ..i know how much time u spend on it :)
|
I just read it :p
Thanks shawn this is good work. |
SMB is quiet hard worker - he does not make a sound when he works - but when he finish - wooow - he says amazing things
thanks SMB - most of this was usefull even for me. |
Argh now those kind of thanks are overkill :<
<3 though ^^ I hope you all find this useful :) |
U WORK GOOD ADMIN
10x |
Great, thx a lot!
|
09/04/2006 02:05:xx.xx4, Error sql: EXEC lin_GetIntro 1, 1 (0)
09/04/2006 02:05:xx.xx4, Error 42000:[Microsoft][ODBC SQL Server Driver][SQL Server]Could not find stored procedure 'lin_GetIntro'. what's that? :( |
Do you get that on the comm server application?
|
nice stuff, worked perfectly, thanks ^^
|
Quote:
to all: I have problem. Created TEST board, set permission to Read/Write/Post. When i'm trying to new post, i can't select Title and get message "Please make an entry in the field". sorry for english... |
"Fixing the “Title” dropdown box:"....
|
Quote:
|
Full Working DBComm Script.
(Forum Structure from Retail server). http://rapidshare.de/files/31918577/...ripts.rar.html |
I have already made it:) But thanks!
|
Favorite and Region have problem (can not find BBs)
Thank for share is perfect |
Nice share, I'l try it, when I finish with petition :)
|
I am trying to put an announcement and when it accepts so that it places it it says to me: Please make entry in the field. that it can be that
|
Quote:
|
to update line
INSERT INTO board_keyword ( field_key, field_desc, field_type, field_order ) VALUES ( 'Announcements', 'Information', 2, 1 ) INSERT INTO board_keyword ( field_key, field_desc, field_type, field_order ) VALUES ( 'Update', 'Patch', 3, 2) --------------------------------------------------- EXEC lin_MakeBoard 2, N'Official Announcements', N'General Information', 4, N'Admin', 0, 1, 2, 0, 0, 0, 12 EXEC lin_MakeBoard 2, N'Update Information', N'Patch Notes', 4, N'Admin', 0, 1, 3, 0, 0, 0, 12 |
Fixing the “Region” tab:
some person can explain or show a photo of which there is to make exactly to repair the error. it is the only that I need. and profit not to understand that part. Thanks |
Quote:
SQL File: http://codemonkeh.com/Lineage2/Inser...;Lin2Comm].sql Code paste: Code:
/* Shawnmb */ |
Ufffffffffffffffffffffff thank you very much friend, is perfect. Try some works exelente. Tomorrow I inform to him into any other error. I put the usuary photo and all Db together so that all can take advantage of it. Exelente and thank you very much. Excuse my english
|
Great, thanks a lot!
|
Thanks for share!!! :)
But i cant make messages in general BBS! :( Console write - you cant write... bla bla bla. I update all table - and in board_rest maked 255 permission and id of char. - But some shit =( What i do wrong? |
each section is handled by 1 different person that it has the privileges. see
Fixing the “Title” dropdown box: Problem: When posting the “Title” dropdown box is empty, which prevents you from posting. Fix: The contents of the dropdown box are basically called “Keywords”. This can be fixed by properly creating the table in SQL. In board_list there is a “keyword_type” column (int). This column has to be matched to board_keyword (field_type). |
Update Tables
Dont is my work (UPDATE TABLES)
COMPLETE: Top and Region Credit: Shawnmb, MuNLoK Remember: Delete all old data base lin2comm. Adding board moderators: (This was quickly added) Open board_rest table Example: 1 Chard_id= you num pj pledge = 0 did = 4 (event) word_id=1 permision=255 Example: 2 Chard_id= you num pj pledge = 0 did=5 (official announcement) word_id=1 permision=255 Example: 3 Chard_id= you num pj pledge = 0 did=6 (updata patch) word_id=1 permision=255 Вложения из исходного сообщения (сами файлы в копии отсутствуют): lin2comm_update.rar — 18648 байт |
Great! Thanks!!!!!!!!!! :)
|
Quote:
|
I number them to the front of lin2comm do not symbolize anything. I take an order to place all dbscript, not to be mistaken. All my script is placed in 1 single folder. You can change to them I number them by your necessities, or to their order.
|
Yeah but why are you inserting location names into the keywords table? (That's what I remember from when I looked at it, I'm at class so I can't double check) ^_^
|
region nonsingle indicates the region where is the PJ.have a Write button, to write, it works just as all, it is used single to write your memos but referring to localition where you are. I could not access to all regions where she leaves title. single gives the region me where she found me
when he has time check please same you within the game in case there are erros, single I I fix what you bd. when you try to write. said that did not find the route. For that reason I did it by you. |
Thanks man, great share
now just need to figure out the clan DB side, i used most of the same syuff from here but theres a few things special for clan tables it seems that the clans "table_list" is auto filled in with 2 "forums" when they go in there but it uses keywords 4 and 5, does anyone here have an official account that can check to see what should be in all the drop downs thanks, also a screen shot of the main forum would be nice, i would like to see whow its layed out |
I just used "Post" as I did on the main forums, but changed, as you said the keyword ID to 4/5, worked great.
|
please i dont undertand post gman, please help me. for repair db. thank
|
What kind of "Title" drop-list?
When i try to wrote some post it alweys empy (empty list). And becose it some errore message poping up. As result: no posts =( Can any help to fix it? Sorry for my bad english |
Quote:
Quote:
|
anyoneknow what each permission type is on board_list?
i added all the boards, and gave myself moderator rights on all the forums but when i try to write in the updates section i get "You do not have write permission" i would like something there (admins, GM any kinda builder lvl ) can start topics and users can reply Thanks |
| All times are GMT. The time now is 22:55. |