Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by TECK TECK is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-14-2002 Last Update: Never Installs: 0
 
No support by the author.

THIS PROJECT WAS CLOSED BEFORE. REASON EXPLAINED HERE
I WILL START WORKING AGAIN ON THE PROJECT... Below is the original start thread:
---------------------------------
i love VB. it's so flexible. and that's why i want to have VB as main engine in administrating a website in general. this is not a hack. is ment to turn VB from simply a BB into a website. not a portal!!!! i hate portals, they are all so boring....

the way i plan to make it work this project is this:
01. everyone can make it look the way he(she) wants
02. flexible html code insertion for main page based on templates
03. news
04. stats
05. reviews and links
06. everything else what the user wants, because is based on his ideas, not some standard rules implemented by a portal design.

i have the full package prepared. i need beta testers who have php knowledge and can help me eradicate those bugs.
FireFly, you helped me all the time. i hope you will do it this time also. the installed is prepared. to run it and have it up and running it takes only 2 minutes, and you can start to evaluate the little errors i made.

the biggest issue that i have is with the Private Sections. this is where i want to focus my attention. please let me know here if there are any of you willing to help me test it and clear some of the bugs. i know the project is big. but once completed, alot of people will be gratefull. the same idea was discussed at VB.com about this project being optional for VB. i want it to make it come true. please spare some of your precious time and help me help others.

we are a community, and that's why i like this place because i always got help from all of you.
ANY SUGGESTIONS, DIRECTIONS, ETC ARE WELCOME!

-----------------------------------
UPDATE (feb.14):
the sections are born. implemented the right permissions using the same user database, so people who sign in on the main page will not need to login into forums again.
Screenshoots:
the sections | the permissions

Current BUGS:
> group permissions are not set as Default like in Forums
> Private Sections cannot be enabled

-----------------------------------
UPDATE (feb.15):
group permissions fixed

-----------------------------------
UPDATE (feb.17):
install script finalised. all bugs related to installer fixed.
for a glance at the installer click here.

the script checks if the fields and tables are present in the database. it also give you an option do flush them and start a clean install.
database table and fields presence process can be viewed here. the vbHome options settings are here.

-----------------------------------
UPDATE (may.09):
Main news engine is now final and bug free.
[Guest View] [Member View]

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-17-2002, 01:30 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ty all for your offers. the installer is available now only to people who made their name here as solid hackers (ex firefly, tubedogg, PPN, etc.)

is amasing how many junior members with 2-3 posts pm me to send them the script. anyway, the script is almost done. patience. i should release it in 4-5 days.
Reply With Quote
  #13  
Old 02-17-2002, 04:11 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok... i have a little problem on showing the indexes for "settinggroup". can anyone help me to do a function that let me check what is the highest Cardinality value in "settinggroupid" field?

what i want to do is this:
make the installer script check what is the highest cardinality value in settinggroup and warn the user that this value is taken if selected as default by the script.

example of query:
PHP Code:
$settinggroupid "32";

$DB_site->query("INSERT INTO settinggroup VALUES ($settinggroupid,'Home Page Options',$settinggroupid)");

$DB_site->query("INSERT INTO setting VALUES (NULL,$settinggroupid,'News forum ID','newsforumid','15','The specified forum will contain threads viewed on the main page only.','',0)");
$DB_site->query("INSERT INTO setting VALUES (NULL,$settinggroupid,'Order of news posts','newsorder','1','The standard (recommended) way to display news is chronologically from latest post to the newest one. You can reverse this, if you prefer.','Newest first<input type=\\\\\"radio\\\\\" name=\\\\\"setting[\$setting[settingid]]\\\\\"  \".iif(\$setting[value]==1,\"checked\",\"\").\" value=\\\\\"1\\\\\"> Oldest first <input type=\\\\\"radio\\\\\" name=\\\\\"setting[\$setting[settingid]]\\\\\" \".iif(\$setting[value]==0,\"checked\",\"\").\" value=\\\\\"0\\\\\">',1)");
$DB_site->query("INSERT INTO setting VALUES (NULL,$settinggroupid,'Order of comment posts','commentsorder','0','The standard (recommended) way to display comments is chronologically from original comment to the latest one. You can reverse this, if you prefer.','Newest first<input type=\\\\\"radio\\\\\" name=\\\\\"setting[\$setting[settingid]]\\\\\"  \".iif(\$setting[value]==1,\"checked\",\"\").\" value=\\\\\"1\\\\\"> Oldest first <input type=\\\\\"radio\\\\\" name=\\\\\"setting[\$setting[settingid]]\\\\\" \".iif(\$setting[value]==0,\"checked\",\"\").\" value=\\\\\"0\\\\\">',2)");
$DB_site->query("INSERT INTO setting VALUES (NULL,$settinggroupid,'Maximum number of news to display.','maxnews','10','','',3)");
$DB_site->query("INSERT INTO setting VALUES (NULL,$settinggroupid,'Maximum number of headlines to display.','maxheadlines','15','','',4)");
$DB_site->query("INSERT INTO setting VALUES (NULL,$settinggroupid,'News pages to show in nav bar','newsnavpages','3','In the list of links of pages in the current thread (or current forum), this option selects how many pages either side of the current page are shown. Set this to 0 to display all pages.','',6)");
$DB_site->query("INSERT INTO setting VALUES (NULL,$settinggroupid,'Number of characters before wrapping','newswordwrap','50','If you want posts to automatically insert spaces into long words to make them wrap after a certain number of characters, set the number of characters in the box above. If you do not want this to occur, enter 0.','',7)");
$DB_site->query("INSERT INTO setting VALUES (NULL,$settinggroupid,'Maximum Characters per news post','newspostmaxchars','10000','The maximum number of characters that you want to allow per news post. Set this to 0 to disable it.','',8)");
$DB_site->query("INSERT INTO setting VALUES (NULL,$settinggroupid,'Show default news icon','newsshowdeficon','0','Show a default news icon if a journalist doesn\'t choose a news icon or is unable to choose one based on forum settings? {imagesfolder}/newsicons/icon1.gif will be used.','yesno',9)");
$DB_site->query("INSERT INTO setting VALUES (NULL,$settinggroupid,'Stop \'Shouting\' in news titles','newsstopshouting','1','Prevent your users \'shouting\' in their news thread titles by changing all-uppercase titles to capitalization only on the first letters of some words. Disable this for some international boards with different character sets, as this may cause problems.','yesno','10')");

echo 
"<p>Adding <font color='#006699'>setting</font> data... Done.<br>\n" 
i would like to be able to make the script check what is the last ID in settinggroup and if > then 31 to make a input code:
PHP Code:
makeinputcode("Settinggroup ID","value"
where the user can select a higher value instead of the default one.

what i try to avoid is that the user must edit the hbhome.php installer file. i could do a check link to setting.php, let the user check manually what is the last id, edit the vbhome.php file and reload the specified step... but that is cheap in my eyes

anyway, let me know if you can point me in any direction. ty
Reply With Quote
  #14  
Old 02-17-2002, 04:26 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm.. i still cant find a way.. grrr
Reply With Quote
  #15  
Old 02-17-2002, 10:11 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i found by myself the solution to the problem above.
in the same time... i want to tease you all with an installer screenshot...
i tried to make it as complicated as posible... all you have to do is click on Continue >
let me know what you think. thanks. i would love to hear few words from the 'big guns' also...
Attached Files
File Type: (21.4 KB, 620 views)
Reply With Quote
  #16  
Old 02-17-2002, 10:37 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the script checks if the fields and tables are present in the database. it also give you an option do flush them and start a clean install.
Attached Files
File Type: (21.4 KB, 440 views)
Reply With Quote
  #17  
Old 02-17-2002, 10:52 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

glance at the settings step...
Attached Files
File Type: (21.4 KB, 378 views)
Reply With Quote
  #18  
Old 02-17-2002, 11:32 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've done a full integration with my forums already, I integrated databases, not the coding to do this. I'll take a few screenshots of this if you want.

It even has a nice japanese name as its an anime site.

If you need any testing or help with the code then just give me a pm or send an email I'll gladly help.

http://www.sirenhost.co.uk/~scott/shukan.jpg
Reply With Quote
  #19  
Old 02-18-2002, 01:38 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great stuff PPN.. as usual.. i would like to show you what i did so far. i worked hard on the installer. if you want i can give you a copy. is fully customizable so you can adapt it to any script.. not that you need it, because i'm sure you can do something better then me.

here it is the way it looks my admin page (the so called sections, rings a bell? identical to yours )...
Attached Files
File Type: (21.4 KB, 476 views)
Reply With Quote
  #20  
Old 02-18-2002, 04:47 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok PPN... i email you the installer script. look at step 6. i still have a bug in there.. grrrr..
also, there are not alot of people like us that can run their own server... most of hosted accounts offer only one database/account... unfortunatelly. your solution is the best because is nothing easier to configure 2 databases with the same usergroups.

anyway... when you have time, look at the script. i'm sure i missed something in stepping, the code should be ok. ty
Reply With Quote
  #21  
Old 02-21-2002, 05:05 AM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this sounds pretty cool
just wondering wen uploading the files
i guess the overall question im askin is will u be able to run all 3 on your site vbhome vbportal and vbulletin
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08783 seconds
  • Memory Usage 2,358KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete