MyUPB.com Discussion forums
You are not logged in. Please Register or Login.

Announcements

This project is not completely dead. I've just started work on localisation.
Please email me at clark@NOSPAMmyupb.com once you've registered so I can activate your account (remove "NOSPAM" from the email address)
~~~~ Clark


If you're getting a "Deprecated" error message, follow the instructions here

URGENT Security Patch for ≤ v2.2.6
A security hole has been discovered, follow the instructions and download the patch at the topic page.
Did the patch break your search page? Search Patch

Download myUPB
Version 2.2.7 Released - 24th December 2010

Viewing profile for Pilot
Pilot




General
Joined:
2006-11-14
Posts made:
1034
Status:
UPB Team Member    
Email:
not public
Location:
Manitoba, Canada 
Contact
 ICQ:
 
 AIM:
 
 Yahoo!:
 
 MSN:
timhoeppner@gmail.com 
 Skype:
 
 
Pilot's Signature:
Tim Hoeppner

UPB Programmer
B. Sc. in Electrical Engineering

In forum "UPB Releases"
In topic "UPB 2.0.2 Beta 1"
Patches Available: - These are updates for UPB 2.0 Beta 1
Patch 1 - Changlog N/A
Patch 2 - Changlog (below this post)
Patch 3 - Changelog
Patch 4 - Changelog

By Downloading anything listed in this topic, you agree to the terms and conditions portrayed on our fileserv index.

UPB 2.0 Beta 1.4 Release
NOTE: this zip file contains all of the patches listed above, we update it everytime a new patch has been released.

Download: fileserv.myupb.com/upb2.0B1.zip - includes updated install.php

We highly recommend upgrading to the newest version in order to keep up with security and bug fixes.

Even though we say this is a beta release, this version functions very smoothly. The reason we say its a beta is to note there could be small errors in the extra features of the board which have not properly been tested since we upgraded database systems. We plan to release a "stable" version in the weeks to come with any bugs fixed that have come up.



In topic "UPB 2.1.1b Release"
UPB 2.1.1b Release


Download: Click Here


Release Notes:
  • This is a beta release to test out new features.

  • Added the new attachment system which is meant to be more secure and also monitors downloads.



  • Upgrading:
  • If you are using upb 1.x, please upgrade to upb 2.0 B1 first

  • Backup your forum directory

  • Upload all the files found in the zip file and overwrite any changed files except config.php

  • Execute the install-uploads.php script

  • Delete update1.x-2.0.php, install.php, and install-uploads.php



  • Change Log:
  • Removed all references to the chat system

  • Fixed any remaining php open tags that didn't use the "<?php"

  • Added the new attachment system



  • Fix Information:
    070826 Fixed problem of cannot login after upgrade from 2.0 Clike here
    In topic "UPB 2.2.7 Release"
    UPB 2.2.7 Release

    Download:
    - upb2.2.7.zip
    - upb2.2.7.tar.gz


    CHANGELOG:
    == BUG FIXES ==
    # Strip slashes bug in forum and category titles
    # Admin configuration of file upload types was missing
    # PHP notices for undefined variables in the installer
    # Fixed BBcode bug related to [left], [center] and [right] tags
    # Fixed bug which prevented an admin from changing a users email address or timezone
    # Subscribe to this post feature has been fixed
    # Corrected several login links so they redirect back to the appropriate post
    # An error message is now displayed if a upload does not meet the size restriction
    # Fixed exploit allowing unintentional admin accounts
    # Fixed a bug in monitor topics that was caused if a user changed their email address
    # Fixed a bug that was causing our anti-XSS to be applied in place it shouldn't
    # Fixed a security hole allowing any user to download attachements

    == NEW FEATURES ==
    # UPB API has begun to form, several classes have been added in the includes/api folder

    README:
    **************************
    UPB 2.2.7 RELEASE NOTES
    **************************

    PLEASE READ THE LICENSE.TXT FILE BEFORE CONTINUING

    Change log for UPB version 2.2.7 can be found in changelog.txt

    Getting Started:

    == IMPORTANT==
    A new version of the license has been included.
    Details can be found in the license.txt file.

    == INSTALLATION==

    Upload all the files from upb2.2.7.zip or upb2.2.7.tar.gz
      CHMOD the root UPB directory to 0777
      Execute the install.php
      Follow the directions in the installer


    == UPGRADE ==
    Upload all the files from upb2.2.7.zip and overwrite your current forum directory
    CHMOD the root UPB directory to 0777
      CHMOD the config.php to 0666

    If current version is older than 2.2.6
      Execute http://yourwebsite.com/forum/update.php
      Execute http://yourwebsite.com/forum/upgrade.php

    If current version is 2.2.6
      Execute http://yourwebsite.com/forum/upgrade.php

     

    ==IMPORTANT: AFTER INSTALLATION OR UPGRADE==

    DELETE update.php, update1_0.php, update1.x-2.0.php, update2_2_1.php, update2_2_2.php, update2_2_3.php,update2_2_4.php, update2_2_5.php,complete_update.php and install.php, they are a security risk

    See the changelog.txt file for details of bug fixes, new features and skin changes

    In forum "News Discussion"
    In topic "New Moderator: Codex"
    A big welcome goes out to Codex for joining our team as a moderator.
    In topic "New Moderator: Jono345"
    welcome to the team
    In topic "Happy New Year!"
    From everyone here at MyUPB.com we wish you a happy new year! and try to keep your new years resolutions till at least the end of this week, I know its hard but you can do it!
    In topic "TEASERS!!!!"
    Hey Everyone,

    If you didn't notice, I started a thread in UPB Development Update forum. I am just releasing some images of one of the new systems coming.

    Please refer to the following thread for updates:
    www.myupb.com/viewtopic.php?id=5&t_id=13
    In topic "Upcoming closed beta test, PLEASE read"
    Read rebles reply
    ahh yes, that sounds much better :P
    In topic "General Discussion forum"
    I had to temporary hide the general discussion forum, a little bug poped up. all the data is still there just gotta fix it after my classes today.

    Sorry for any inconvience.
    I managed to pin the bug down and putting the General dicussions back up!

    Everyone running UPB 2 needs to download the fixed tdb.class.php, follow this link to get the fix.
    In topic "User Account Names"
    Hey guys,

    Someone is continusly creating accounts like "admin" "administrator", I don't know who you are and I don't really care either. If you use names like this I'm just going to delete the account so don't bother.

    Thanks
    Yes i agree, a user name rescriction is needed.
    oh its not a big deal for me that there doing it, I'm just saying if you try and make a user name like that i'm just gonna delete it because they are just trying to impersinate us.
    In topic "Uploads Disabled"
    Uploads have been disabled until further notice
    In topic "New Member: Clark"
    I would like to welcome Clark to our team from everyone at MyUPB! He will be helping us with some development and try and get out progress going a little better.

    I hope this means Clark will stop slapping me with those kippers, those things hurt...
    In topic "Migration from CVS to Subversion"
    We have migrated our source code from the CVS version control system to the new Subversion system. The new link for anonymous access is:

    Subversion:
    textmb.svn.sourceforge.net/viewvc/textmb/

    Old CVS: (can be used to check any old file changes)
    textmb.cvs.sourceforge.net/textmb

    Just decided to upgrade really makes no difference to any of the people browsing our site.
    These always reflect the files on my harddrive, i update it every night i work on it.
    In topic "New Members: Aemx and Pero"
    I would like to welcome Aemx and Pero to the MyUPB Team! They will be our main skinning team as of right now and will help to get some nice style out there in the upb community.
    In topic "NEW FEATURE: RSS Feed"
    you rule!
    In topic "Birthday: Rebles"
    Please everyone wish Rebles happy birthday, today marks the day he is no longer a teen!!!

    Happy Birthday Jerroyd!!!
    In topic "New way to track bugs, feature requests, and support questions"
    Well said sir
    In topic "New Members: megakn and cheep"
    I would like to officially welcome 2 new members to our team, megakn and cheep! They will be assisting the development team to bring you guys more frequent releases with less bugs!
    In topic "New Member: Master"
    I would like to welcome master to the MyUPB team. He will be looking after translating the forums to Chinease and looking after those people by offering them support.
    In topic "New Member: Schribl"
    Welcome to the team Schribl!
    In topic "All hail The Ripper!!"
    Thanks goes out to one of our members at the forums for giving us a fresh new look! Hope everyone likes it :P
    Its going to be released with the upcoming stable release.
    In topic "Integrated SourceForge's RSS feed onto main news feed"
    The myupb.com news feed wasn't really doing its job in showing the development that we are doing behind the scenes. I integrated the RSS feed from sourceforge into our news feed to give everyone a clearer picture.
    In topic "New member: Pete917"
    Peter has been an essential part of the forums in the past and I invited him to be more integrated in the team and help with our discussions and to crunch some more bugs. Peter will mostly be involved in testing and feedback just as he has been up to now.

    Welcome to the team Peter!
    Lol
    In topic "UPB migrates from Subversion to Git"
    One of the difficulties with Subversion is branching the code to work on features while keeping the trunk nice and clean. Git is a relatively new system that has branches in mind. Hopefully this migration will aid us and help development continue on a little smoother.

    The repository can be viewed online here:
    textmb.git.sourceforge.net/git/gitweb.cgi?p=textmb/upb;a=summary
    In topic "MOVED: URGENT: Admin panel fix"
    Topic was moved to forum : UPB 2 Development Updates
    You should be redirected in 2 seconds.  If not, click here.
    In topic "Pushed back UPB road map dates by one month"
    I was a bit optimistic regarding the road map dates for future releases and decided it would be more realistic pushing them back one month. Pushing the dates back will also provide the team more time to work on some of the front-end visuals on our website.

    In forum "UPB 2 Development Updates"
    In topic "BUG FIX: missing image"
    You guys are more then welcome to remove the last image in the includes/footer.php found at the very bottom of the file, we don't even host the image anymore so it just looks messy, it will be removed in the next release.
    haha good point.
    Bah! so thats why I had so many referals from users forums in the stats, it all makes sense now...
    Yea, the first year upb was released we had sooo many people trying to rip off my code, it was very hard to deal with. I guess its a problem with any new scripts. Annoying but something you have to put up with.
    wow man thats harsh. The way I look at it, eventually enough people find out where the orginal code came from and the copied versions tend to die out. They get there 5 minutes of fame or whatever. I don't want to mess people's databases if they were trying to like mod the board and accidently took out a piece of code they wern't suppose to.

    Thats just to much, wouldn't help much for return visitors if they knew that was in your code.
    In topic "BUG FIX: Password retrieval"
    Ok Thanks, I'll post a fix on this thread...
    Ok, there was just a small typo error, open up getpass.php and find line 34, it should contain:

    PHP Code:
    mail($user[0][&quot;email&quot;], &quot;Lost Password Confirmation&quot;, &quot;The IP Address: &quot;.$_SERVER['REMOTE_ADDR'].&quot; has requested a password retrieval from an account linked to this e-mail address.  If you did request this, visit here to confirm that you would like to change your password for &quot;.$user[0][&quot;user_name&quot;].&quot;nnhttp://".$HTTP_HOST.$url."?request_ID=".$request_ID."&passcode=".$passcode."nnBut you did not request a Password Retrieval, please alert an administrator, and give them the IP Address provided.", "From: ".$_REGIST['admin_email']);



    just simply replace that with this line of code:

    PHP Code:
    mail($user[0][&quot;email&quot;], &quot;Lost Password Confirmation&quot;, &quot;The IP Address: &quot;.$_SERVER['REMOTE_ADDR'].&quot; has requested a password retrieval from an account linked to this e-mail address.  If you did request this, visit here to confirm that you would like to change your password for &quot;.$user[0][&quot;user_name&quot;].&quot;nnhttp://".$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME']."?request_ID=".$request_ID."&passcode=".$passcode."nnBut you did not request a Password Retrieval, please alert an administrator, and give them the IP Address provided.", "From: ".$_REGIST['admin_email']);
    Rebles maybe u did in the latest patch, I fixed it like 2 or 3 days ago from the zip on the server so it hadn't been applied at that time.
    Did you change any code in register.php prior to appling this fix?
    yea try that.
    In topic "BUG FIX: errors on installing"
    Codex, can u please post a screenshot of all these errors your getting? I have installed using IE, firefox and never had any problems.
    You are running on a Windows server arn't you? I'm pretty sure you are, those have nothing to do with the browser, they are generated because by default on windows systems extra errors are displayed. Its just a matter of supressing those warnings.

    I will post a patch for php setup this way. Thanks.
    Try this:

    open up install.php

    goto line 8 which should read: ignore_user_abort();

    and add the following line:

    error_reporting(E_ERROR | E_WARNING | E_PARSE);

    That should take care of those notices and allow you to do a clean install on UPB.
    In topic "BUG FIX: upgrading from 1.x to 2.0"
    Attachment: update1.x-2.0.zip

    There was some issues with the upgrade script. The script would be unable to make it past step 3.

    -First thing you need to do is restore the backup u made and delete config.php
    -Next, download this revised upgrade1.x-2.0.php
    -Run the new upgrade script and everything should work

    You will notice on one of the steps there seems to be a problem with updating avatars, this can be ignored and it is safe to proceed onto the next step.
    In topic "BUG FIX: close bracket ')' turning into wink simlie"
    Attachment: post.inc.zip

    After much frustration I finally pinned this error down, here is the fix.

    Replace includes/inc/post.inc.php with the one found on this topic.
    In topic "BUG FIX: path disclosure and quoting posts"
    Attachment: patch.zip

    The following problems were fixed:

    When a invalid ID is entered for viewtopic.php or viewforum.php the path is no longer displayed which was a security concern.

    When trying to do a reply with a quote, the quote would not work.

    Also, added some code in newpost.php for attachments. When a user uploads a file with the same name as something already in the uploads folder, it will add a number to the filename until it finds a unique filename.

    INSTALL:
    Simply download the zip file and overwrite newpost.php, viewtopic.php, viewforum.php, and viewtopic_simple.php with the ones in the zip file.
    In topic "FEATURE: checkupdate is up and running"
    The checkupdate function in the admin panel should now be working on everyones forums!
    In topic "MOD: for users having trouble with the security image"
    Download upb2beta1.4_disable_security_code.zip


    Here is a modified register.php to allow users without GD enabled on there server to bypass the security image on registering a new user.

    just download the zip file, unzip, and overwrite register.php with this one.

    UPDATE:

    the fix was not working with a disabled field, it has now been changed in the zip file.
    Thanks for the info.
    Thanks alot for posting your fix!
    In topic "BUG FIX: Search Error"
    Codex, i'm going to have to ask you not to tell people to use the '@' operator, it only tries to hide errors, these errors mean something and they allow me to find out whats going on.

    Topic name seaching is available at this moment, I am working on a new version that will allow you to search within the topics.

    ok now for the error, this was fixed, I'm not sure why this wansn't included in the patches. Please try the attached search.php
    Attachment: search.zip

    try that again...
    sorry, these update have been a little bit confusing, try following the directions in this topic: www.myupb.com/viewtopic.php?id=5&t_id=10
    In topic "FEATURE: Search is finally done..."
    Attachment: search.zip

    The finally got around to finishing the new search page. It will be included in the new patch coming out soon. But for those of you that can't wait I attached it here as well.

    Just download the zip, extract and overwrite search.php with the one found in the zip file.

    Oh and if you want to see it in action, check it out for yourself www.myupb.com/search.php
    Attachment: tdb.class.zip

    oh i almost forgot, I had to make some changes to the TextDB class also, so you will need to replace that as well. It will still work but the OR functionality will just output the same as the AND.

    Download, extract, overwrite includes/class/tdb.class.php with this one.
    Attachment: search.php

    Here is the search.php once more
    I updated the zip file on the fileserv. This is the most recent we use. fileserv.myupb.com/tdb.class.zip
    In topic "BUG FIX: Wrong topic amount"
    Attachment: topic_count_fix.zip

    ok, I already solved this with you on msn, but for anyone else that is having this problem I have provided a little fix.

    Download the attached file, extract and upload to your root forum directory on the webserver, just simply run it in your browser and the topic count is fixed!

    EDIT: Fixed download link
    .
    I will try and fix it.
    I have re-uploaded this fix

    fileserv.myupb.com/mods_updates_and_fixes/upb2beta1_fix_topic_count.zip
    In topic "BUG FIX: unable to install UPB 2.0 B1.4"
    Attachment: install.zip

    There was a problem with the install.php, here is a fix, also the main zip file has been updated as well.
    In topic "NEWS: Upcoming development"
    I know it looks like not alot is going on here at MyUPB.com latly but I assure you the MyUPB Team has been working very hard the last couple of weeks, many new large features are currently in development which will greatly increase a user friendly environment. I can't say too much at this point in time, I can barly hold it in i'm so excited.

    Check back on this thread often for upcoming teasers!!!
    Ok guys, here is the first set. These feature the new user group permission system which will allow MUCH greater flexibility of what happens on your forums.

    Image 1: Shows the addition of the user groups in the admin interface.


    Image 2: Shows how a member's group can be changed very easily with the help of the dropdown which displays all groups excluding the guest group.


    Image 3: A pop-up which gives a summary of the requested group, what they have permission to do and where.


    Image 4: Shows how you can manage the groups themselves, including the 3 default groups and an additional group to simulate the current 'Moderator' status.
    In topic "SIGNUP: UPB 2 B2 Sign up"
    please use this topic to sign up for the upcoming beta test, details on this topic
    lol, u rule buddy!
    BUMP:

    guys we still are looking for a few more people, please do us a favor and do a little bit of testing for us :P
    Ok, I am going to cancel this, I was hoping for more people. Thanks for the 2 people that did want to help, much apprieciated.

    We will just have to do in house testing.
    cool, thanks for the offer, we will most likly be in contact with you.
    Really good actually! The whole team has been working together latly, writing templates, re-structuring code, coming up with new designs. Its been quite busy for the development team latly :D
    What he means is.. This is a secondary activity for all of us, so its pretty hard to put a date on it.
    2007 Q4
    Awesome thanks for the offer.
    Wow guys, really impressed with the support your giving UPB. We really do apprieciate it!
    In topic "BUG FIX: last visit doesn't seem to work?"
    I think I have found the root of the last visit bug. I am running tests on THIS board, please let me know if it seems to be working or not working. Once I can conclude some results I will release the patch.
    well, looks like that didn't do it. time for more debugging...
    I think I have got it now, please login, logout, then the next time you login it should be good.
    ok for me it seems to be working perfectly now, can anyone else confirm this?
    Quote:
    Still a problem for me with these forums.

    I've even gone and deleted the cookies for this site and re-logged in etc. and the front page still shows no new posts but when I go into each forum, they are all listed as new.



    did you try refreshing the main page?
    excellent thanks for the debug info.

    Rebles: sorry man i commented out a piece of code of your that takes care of what he just described, i'll enable it and see what happens.
    i'll talk to you on msn rebles.
    open up login.php and find the line containing:

    fseek($v_file, (($_COOKIE["id_env"] - 1) * 14));

    it should be around line 23, change this line to:

    fseek($v_file, (($r["id"] - 1) * 14));
    In topic "BUG FIX: slashes being added when editing sigs or statuses"
    Hey There,

    Glad you like the forums!

    1) If you go into the member status's admin panel you can see the list of status's for normal members. Now by default a normal member only recieves a status at a post count of 50, just change that to 0 if you want them to recieve a status right away.

    2) Is it only in signatures?
    Attachment: slash_fix.zip

    1) Ok, I hope you don't take any offense to this, but are you sure you edited the 'Member's statuses and not the admin or moderator ones? I have looked through the code and see no reason why it would not work. I even reduced ours to zero and sure enough you have a status.

    2) Download the attached fix and replace your files with the ones inside, Thanks for reporting this one, didn't even realize it.
    Ok thanks for letting us know anyways. We are changing some stuff with the colors in the upcoming new version so hopfully that takes care of your problems.
    doh! forgot about that one. I will get that tomorrow morning and give you a fix.
    Attachment: admin_members1.zip

    sorry bout the wait, i got really busy with homework. heres the fix for the admin panel.
    of course :)
    We are changing the way these things are checked in our next release because of our new group permission system, so we'll get this bug there.
    In topic "BUG FIX: TextDB freak error, please update your copy with this"
    Attachment: tdb.class1.zip

    We had a freak bug in textdb that has only come up twice EVER for us. It was very difficult to pin down but you should download this update for textdb.

    What it was doing is (VERY RARE) you would make a reply and the reply wouldn't show up.
    That is the bug Jerroyd, I'll explain on MSN. :P
    i was able to reproduce the bug
    yea sorry to disappoint you, thought i would be making you happy by fixing it but you know, can't win with everyone :P
    No it has not, download this one for now, i'll update it tonight. I can't do it from this computer.
    In topic "BUG FIX: dates in PM's, whos online, email function"
    Attachment: viewpm.zip
    Attachment: whos_online.zip
    Attachment: email.zip

    -View Private Messages dates were showing wrong, this will correct that

    -Some users reporting that there whos online function wasn't working properly (upload a blank whos_online.dat into your forum data directory after updating whos_online.php)

    -Email function didn't work for emailing other members, this will fix that
    In topic "FIX: Upgrading to 2.1.1b problems"
    A user posted a bug report for upgrading 2.0B1.4 to 2.1.1b. There is a problem in install-uploads.php, the error along with a fix is outlined here:

    sourceforge.net/tracker/index.php?func=detail&aid=1781646&group_id=32653&atid=406051
    Wow 3 already clark, i'm disapointed :P
    In topic "URGENT: Admin panel fix"
    Please download the following patch and extract the archive to your root UPB folder. After installing the files please ensure there are no unexpected Admin members on your forums. Use the admin panel manage members to check.

    www.myupb.com/fileserv/mods_updates_and_fixes/admin_fix.zip
    If your search page is broken as a result of the fix please download this search fix.

    www.myupb.com/fileserv/mods_updates_and_fixes/search.zip
    In topic "Progress Update: Version 2.2.7"
    The UPB team has been working hard at getting this release out the door and we want to ensure we are releasing a good product to you which is why we are delayed from the Dec 21, 2010 release target.

    Some last minute issues were discovered and have now been fixed. We are currently working on the upgrade script and then have some final testing to do before we can make the release. Expect something available within the next day or two!

    In forum "UPB 2 Suggestions"
    In topic "Need some suggestions"
    With exams coming up in just over a week for me (and I think Rebles too) little will be done for the next 2 weeks at least. But I am done on like the 15th and have a 3-week break before next semester, so that should leave a good opportunity for any improvments or bug fixes for the forums.

    I have a list from the bug reports (a few small things) but it would be nice if you guys let us know if you would like to see anything else change. Our goal is to offer you an amazing forum that doesn't require any third party database system.

    Speaking of which though, there has been talk amoung administrators that we may include a wrapper script to be able to execute sql queries through the TextDB class. What this would mean is that:

    1) UPB could still be run with flat files or
    2) UPB could be run with one of the third party db systems like MySQL

    So many hosts are offering SQL these days that it seems the evolution of message boards is going towards these faster and more reliable systems. We think that might be an option to include in future versions while still offering the flat file support for the users that still don't have access or just simply don't want to go through the hastle of setting up a SQL db.

    Anyways, Please let me know what you all think. One beatiful thing about our forums is that we want to make it better for you, so we actually use your suggestions.

    Pilot out..
    Hmm interesting, when I first wrote tdb I actually was thinking of including that functionality but then I was like "well i don't want to have to write which fields I want" but years later I can see certain nice things about that. Well that is very trivial to add...
    In topic "The search..."
    I am currently working on redoing the search routine, I've been looking at other forums and been noticing that the search's you can perform are much more extensive. Allowing you to search through individual forums, or search by username. Is this something you guys would like to see as well? Or is the simple thing what you guys really want?
    noted
    what exactly are you talking about? he wants to be able to search a individual forum.
    In topic "Main Attraction?"
    Another topic which I am really curious. When you guys are searching for a new forum or possibly your first, what draws you to actually decide and use a forum for your website?

    -is it the ease of setup?
    -extra features or mod availability?
    -how it looks?
    -which DB systems it supports?

    I'm really trying to make you guys WANT to use UPB, I know when we first started it was the fact that we were one of the few that offered a forum similar to vBulletin and flat-file. Now i'm not so sure of that anymore, times are a changing.
    yea thats what i figured, more and more places are offering SQL databases at no extra charge. I guess we need to just adapt to the market.
    In topic "Update Responder"
    Oh thats a pretty good idea, I will do that right now!
    Well I think what he means is just have a topic where we would post something like:

    2.4 released [link] and then we would still have a seperate topic for each release, it would just allow people to be notified when there are new releases.
    In topic "Watch a topic."
    Well actually this feature is implimented, click on "Monitor" beside the new reply button
    In topic "Sort order of posts."
    Hmm, definitly a easy option to add. I'll keep that in mind on the next patch
    In topic "Topic heading as page title"
    Um maybe I'm not sure what you mean here, the topic title IS the title of the page right now "UPB 2 Suggestions :: Topic heading as page title"
    Yea we are planning on redoing all the html on the forums, so hopfully after that it will all be alot more search engine friendly :)
    In topic "Page refresh count option"
    It would be adding to the pageviews. The thing is with page views is just that, its just a very simple estimate on how much activity is on your forum. Now if you wanted a number on unique visitors each day we could definitly make that happen.
    In topic "Different index page for each topic."
    I agree with you here, and maybe we will think about this option in the future. But for now its alot more simplier having everything dynamic.
    In topic "More Themes!"
    This will definitly be looked at.
    In topic "Upload Avatars"
    We actually did have it this way before, I could be wrong but i think we were getting complaints somewhere. Anyways, i'll maybe look into doing that again.
    that error should be suppressed, it has no effect on the operation of the script.

    As for you avatar, it doesn't appear to mean anything in ASCII [chr(24) cancel chr, chr(79) letter O, chr(137) char in extended set, chr(160) char in extended set], other than that I can't think of anything.
    In topic "quick reply"
    Don't worry about posting to much, we don't mind at all.

    Can you elaborate on the quick reply button? Maybe you mean having the Post Reply textbox under the topic?
    In topic "sticky"
    this feature exists, thanks.
    In topic "Make email address optional on registration"
    I'll see what i can do, another user was requesting this as well.
    In topic "French"
    At this time the only way to translate is to open up all the .php files and translate any text in the html that you find. We would like to make a set of files that hold all the text but havn't had a chance to do this yet.
    In topic "Inoperability"
    If you want to integrate the upb login system to your website its actually quite simple, but I would suggest just sticking with our TextDB system, working with 2 database systems could be a bit of an annoyance. We do have a class written for our forums that includes functions like login user, and is the user logged in... etc. If you would like more info on this I would be glad to help.
    Alright, I'm just at work, as soon as I get home I will give you some info to start off with.
    basically if you include includes/class/func.class.php to your own script you have access to all the functionalilty you need.

    you can use if($tdb->is_logged_in()) to check if the visitor browsing your site is logged in. $tdb is created within the included file so you don't have to worry about creating that. There is various cookies you can look at after you verify the user is authentic using is_logged_in.

    user_env - user name
    power_env - the users power (1 - normal user, 2 - mod, 3 - admin)
    id_env - the users ID which can be used to retrieve the user record from the users table.
    Well if you going to integrate our login system of course i would suggest to use our existing register.php and login.php files. But if your going to integrate our system into your website your going to need to learn some php.
    Quote:
    well i want to intergrate your particular scripts as it will be much easier concept, and then some sort of session id to determine if they are logged on one or the other ??



    I'm not really sure what your trying to do now. I thought you wanted to use the upb system for a login and register functionality on your website, but when they register or login they are logged in to BOTH your website and the forums.
    In topic "Manage members sort order"
    Attachment: admin_members.zip

    here you go sir, we will try and introduce some options on sorting order in the future but this will get you going with what you want.

    oh btw, you will notice the first page is shorter and the other pages are full length, it won't really effect anything...
    In topic "some suggestions on managing members"
    Thanks for the suggestions! I definitly like the one with the ability to activate an account in the admin panel.
    In topic "Breathing room plz"
    Is it the font that you find to small, or everything? When I write stuff down on paper people can barly read my stuff cause I write to small.
    everything can be changed in your skin, I mean its not the easiest right now but we are working on implementing a template engine which would make it alot nicer.
    When you mentioned this I also found the front page pretty cluttered with a different block for each category, what do you guys think of this:

    www.myupb.com/tim/forum_listing.JPG
    well i guess all i can say, we are implementing a template system so really you can do whatever you want soon.
    In topic "Feature requests: More colors, easy formatting, subforums, previewing"
    Quote:
    I'm pretty sure that #2 is not possible due to limitations in javascript... The way that it is currently done is the most effective way IMO



    I'm pretty sure this is possible.


    1) You can change any of the colors within the skin directory

    3) Thanks for the suggestion and I have seen this done nicly before, but at this time we will not be doing this

    4) Definitly something we should implement, thanks.
    In topic "Suggestion for dealing with missing subjects"
    ahhh, indeed we do need that. Thanks for the suggestion!
    In topic "Two tier user levels for signitures"
    I'm not quite sure how you want this. Like do you only want people to put links or pictures in the signature if they are authorized (or have paid in your case)?
    I could do a mod for you, I don't want this on our forums tho.
    well my first priority for the forums at this point is to get out a stable version. so after that, I would definitly make this for you.
    In topic "Aministrator access to edit user profiles"
    You can do this, Admin panel, manage members and hit the edit link on there row.
    In topic "Most hits record"
    I will add that in for you. I also like that.
    In topic "Listing of new posts"
    Thats a good suggestion, thanks.
    In topic "Some Suggestions"
    Quick reply : We will be doing this fairly soon.

    Easy Skinning : We are in the process of impelementing a templating system.

    Emoticons : Exists.

    Poll Mode : Noted.

    After Posting : I think i know what you mean here, all these things are possible but you gotta click the "alter topic" button at the bottom of the topic.

    WYSIWYG Editor : We'll see...
    In topic "Newsletter function"
    Thanks, and this will be implemented
    In topic "a suggestion"
    Yea i'm gonna have to agree with you here, thanks for the suggestion.
    No problem, thats how we get better :P
    In topic "Stagnant member profiles"
    I would be willing to make a mod like this.
    In topic "Think So!!"
    Thanks for your suggestions. Although, you might want to be actually using our forums if you post a link to it *peace*
    what part are you having trouble with exactly?
    Don't mind me asking, but are you actually adding your custom password into the database instead of the generated one? cause your gonna have to do that.
    ok thanks for letting me know. Btw Politeboy i had to host your avatar on our server, your server was hanging up the forums when it tries to get your image.
    In topic "MOVED: profile.php? !!Error!!"
    Topic was moved to forum : UPB 2 Bug Reports
    redirecting...
    In topic "UPB Image"
    Quote:
    Another and much little suggestion. You should give every images a title when viewing a topic / pm or profile



    Thanks for suggestion, we are in the process of a complete html rewrite which will conform to xhtml standards and therefore have an alt tag on each image.
    I'm pretty sure XHTML only requires the alt tag on <img>
    In topic "mass mail for future version"
    There has been talk about this, thanks.
    I made him a dump script.
    yes forsure, thats a good idea.
    In topic "Security code"
    I, myself don't really have time for this right now, but if anyone wants to take this on, please be my guest. We would be more then happy to accept contributions.
    In topic "Preview your posting"
    no worries, sometimes nice to get a reminder.
    In topic "Add New Forum Suggestion"
    I forgot to comment on this. good suggestion, its these little things that make it nicer to use.
    I think hes saying its not working properly
    In topic "multi-language functionality (offer)"
    I will get back to you on this, we are in the middle of a big release at the moment. Really apprieciate the offer!
    In topic "Banner Mode"
    I can make you a mod to do this. I personally would like to keep it in the template files though, so that everything is in one place
    In topic "Ability to use fixed fonts through BB code"
    aye, we will have to look into that one. I also want to put in syntax highlighting for some languages.
    In topic "FeedBack"
    Hmm, I kinda thought thats what a forum is for.
    Maybe i'm on the wrong track here, but try clicking on the "email" button on the top right of my post. Is that what your looking for?
    In topic "MOVED: test"
    Topic was moved to forum : General Chit-Chat
    redirecting...
    In topic "Version 3"
    OOP has been our goal for the last few years, unfortunately it is not something you can tackle all at once, the process takes incredible amount of time and effort. I tried several times to jump right into it but without creating its own set of problems you just gotta take it one day at a time. All of the repeated HTML will be taken care of once templating is implemented, code is always being cleaned up and often put into classes for re-use.
    In topic "SQL COMBATIBILITY"
    Quote: Rebles at Jul 21, 2009 3:42:21 am
    Hmmm If this is true, this is very unfortunate.  I was planning on expanding UPB's database support by using PDO, but if it doesn't translate the queries, then I think it's pretty much useless.



    I'm pretty sure there is several packages out there that do translation, even one of our previous members made one.
    In topic "CHRISTMAS WISHLIST"
    Please talk to the UPB Team before making posts like this Codex!
    Quote: codex at Jul 24, 2009 6:47:58 am
    Sorry guys, I was planning on doing this myself though, giving something back for my long time away. I only put for your guys approval because I'm not sure if you wanted me posting it, I wasn't meaning for you guys to do the work. Hope all is ok.



    I was more joking around, sorry for coming across like that. It is actually a neat idea.
    I think Rebles may have anchors in place, but they are based on post_id in the database. Happy coding Codex!

    forum.myupb.com/viewtopic.php?id=6&t_id=150#589 should link to pete's last post here.

    Edit: Well I'm not sure why the link doesn't do the trick, the anchor is there....
    Hehe.. I like the enthusiasm! I will try and go through the list and at least capture them formally.
    For sure! A number of people have requested the same feature. I will give you some heads up though, the Christmas wishlist is a little past due but if you take a look at our road map on the announcements you will get an idea of when you might see this feature.
    In topic "Has development of myUPB stopped?"
    I used to make scripts to convert TO upb but never made any effort to convert to another forum. It would be a significant amount of work. You would need to write a script to do the conversion between databases but first learn the differences between the databases and possibly fill in any blank information that they use and we don't or vise versa.
    I really am sorry about the situation Pete, maybe MyUPB will spring back to life one day but this is how it is for now unfortunately.
    Quote: pete917 at Nov 26, 2010 8:30:15 pm
    Quote: Pilot at Nov 26, 2010 7:56:13 pm
    I really am sorry about the situation Pete, maybe MyUPB will spring back to life one day but this is how it is for now unfortunately.



    That's OK Tim.  I completely understand.  It's a shame because I really like the UPB software.  It works really well and is super fast.  Its just my users keep bugging me for features that the other boards have.  Unfortunately Im not a programmer so I cant even help you guys out......

    I'll probably stick with it for a while and see if it comes back to life..... ;)



    Hey Pete,

    I have taken some steps to assess MyUPB's current state and what we plan on doing in the future, cross your fingers, maybe the second wind of MyUPB will come!

    In forum "General Chit-Chat"
    In topic "Christmas skin"
    should be in includes/header.php and please post some screenshots, I'd love to see it!
    ahh very cool and festive. :) Keep up the good work!
    In topic "UPB wiki page"
    I was browsing through google and noticed someone had made a wiki page for UPB (en.wikipedia.org/wiki/Ultimate_PHP_Board) I just wanted to say thanks, looks good!
    Yea for some reason the moderators took it down, I tried asking them to put it back up but no response.
    In topic "We need a new webpage!"
    Hey guys,

    We are looking for a new frontpage our forums, if anyone wants to throw something out there for us you are definitly more than welcome too! I am by no means a graphic designer and it would be sweet to see some of your designs. Even though having the forums load up by default, it would probably look a little more professional with a frontpage. So yea, we are open to suggestions.
    Attachment: index.zip

    upload test.
    Hmm, thats a nice idea. do you have a sample up anywhere that we could try out the different features?
    Can you just email it to me? At the present time I have limited user access to our FTP to a bare minimum and do not wish to extend that right now.
    In topic "Administrators"
    I believe Invinex went under, and they offered us hosting. Jon helped us out here and there because he is a nice guy. So when we switched hosts he didn't show up much anymore cause of other obligations I guess.

    Excorcist also has other obligations, I wouldn't say hes not on the team anymore he just hasn't been here for a while :P

    Fraser, I have no idea where he is.

    This is how it goes with teams like this, they come and go, we thank them for there work and move on.
    In topic "AUTONUMBER / Unique"
    thats the same idea as TextDb
    In topic "Linux"
    are you just looking for rpms?
    In topic "how about that weather..."
    I sure hope no one else has to endure this extreme cold. I'm up in Canada with a -38 degree celcuis windshield today. SOOOOO COLD...
    Ok this is crazy, today its -48 degrees celcuis with the windshield. Jono you wouldn't happen to have a place I could stay in Australia would ya?
    thats an interesting claim, last time I checked Australia is an island... maybe no water on the land, but its not like you can't get any. It appears to be a call for extreme engineering! Where there is a problem, there is a solution!!!
    ahhh that would be perfect.

    There was a news article that i heard about, one woman had flipped her car about 1 mile from her place. She thought she could walk back but instead froze to death. I don't think she made it back half way.
    In topic "favourite music"
    I'm pretty much down with any music except some pop and country.
    lol, why did you upload the upb readme?
    In topic "opensourcecms.com"
    No we have not, but thanks for the suggestion, I will have to do that.
    In topic "Behing The Scenes"
    Looks awesome. I remember doing that with my friends back in highschool, good times... And I suppose I could post a head shot, don't want you to feel all alone.
    well.. that eases my mind a little, I thought you were joining a cult or something.
    well i did promise to show a pic so heres 2 when i was out in Las Vegas.



    Our upload system was forced to be taken down, we are in the progress of implimenting a new one.
    In topic "The Weather"
    heh, funny you should mention the weather. This morning temperatures:

    -39 degrees celcius, with a -51 degree windshield

    Thanks for trying tho :P
    the fact that you mentions air conditioning is.... ugh.. nevermind. have fun with your fancy sun that heats you up during the day....
    i'm in my happy place... i'm in my happy place... ahh you guys suck :P
    In topic "Website Review"
    The navigation looks weird, its offset from the left. Overall looks pretty nice though.

    You know since your selling this thing for $5,800 US, I'd be perfectly happy if you through some of that this way to pay for hosting;)
    The whole middle section is still shifted to the right in IE 6
    In topic "Dedicated Server"
    Wow, I thought we tought you better, what do you want with a windows server. I'll tell you right now, if you get a linux server not only will YOU save money, i'm sure you'll have alot more customers too.

    I personally would NEVER put my site on a windows server, and I think alot of people would agree here.
    In topic "MOVED: Think So!!"
    Topic was moved to forum : UPB 2 Suggestions
    redirecting...
    In topic "PHP / Perl Question"
    preg_match("/(*)hard/")
    preg_match("/Rich(*)/")

    that might work
    In topic "Delicious Cuisines of Kerala"
    I'll remember that the next time i drop by India.
    lol
    Quote:
    If I want a decent curry, I'll make my own.



    No doubt!
    haha, dean thats a good idea!
    In topic "Codex has failed you"
    I don't know about Rebles, but i actually don't have any agaisnt SQL. I mean, actually I think its great they try to standardize access to databases. Just because I think the syntax is stupid has no disrespect towards the actual goal and flexibility of the whole idea.

    Textdb was created with one thing is mind, and that is: Being able to run our forum software on ANY host that supported PHP. I never wanted to replace SQL but on the other hand I would much prefer to use TextDb over it :P

    my two cents...
    Quote:
    how does tdb compare to mysql in terms of speed and features?

    i always prefer the more ghetto stuff :D

    linux ftw!




    I used to always run benchmark tests with textdb and mySQL. I had around a 60,000 record database i used (an old project i had done). TextDb was around 60% - 75% the speed of mySQL. I was quite impressed. As far as features, we really only put in what we need to use on the forums. Sometimes I will accept suggestions and put them in to but its really only because i think it would be useful on the forums.

    My orginal goal was to make a full featured database system, something that could completly replace a SQL system. Due to time contraints and other priorities I just decided it was best the way it was.

    Quote:
    But for now, Codex, consider yourself kipper-slapped




    Ah man codex, you got owned, those dam things hurt. I believe i was number one on the kipper slapping list.
    In topic "Re-introduction"
    welcome back!
    In topic "Native English speaker needed"
    Its funny, your probably know better english then I do. I have several friends from far off that have come here and had to learn english from scratch. I swear they speak more proper and know more big words then I ever will.

    To support jono a little, I have heard several claims that english is the hardest lauguage to learn partly do to the fact that no-one really speaks "proper" english, everyone uses so much slang these days.
    In topic "Spamalot"
    haha oh boy
    In topic "ruby vs php"
    I don't know much about Ruby but I do know this. With PHP5 becoming more popular, and more and more webhosts have it installed, you are going to see a new era in web development.

    There is no other scripting language (that i know of) with the powerful object oriented focus. Just look at it this way, c was once very popular to develop programs but when it came to big projects the code got very messy and unmanagable. With C++ people were able to "black box" there code, and break it up into smaller sections.

    I'm not saying those other languages won't be popular, i'm sure some of them are very nice for small projects. But the problem is why are all of them re-inventing the wheel with there syntax, even ASP is terrible but then again its derived from VB so not much to say there. At least PHP has alot of syntax derived from c++, even some of the functions of php have the exact same prototypes as c++ for some functions.

    Well thats my two cents, i do think php is the best scripting language out there right now.
    Quote:
    A bit of what Pilot said there is actually incorrect. While ASP originated from VB, the newer ASP.NET can actually use any language supported by the .NET framework, including VB.NET, C++.NET and more notably, C#.NET



    Well i was talking about asp not asp.net, 2 different beasts. Although I actually have never looked at any asp.net stuff, interesting to know what you said here.

    I've only briefly looked at C# (which honestly reminded me of java) but I would have to say c++ offers the BEST or the purest object oriented programming there is. I could go into reasons but i won't for now.

    Rebles: I also forgot about java servlet pages, I spoke to soon with my first reply :(
    I was talking with Jonathan (from hostforweb) last night which is working for microsoft right now. He said that just about everything at microsoft is programmed in C# now, other than like office and the OS itself. He seemed to like the language too.

    Unfortunatly i have no desire to learn the language or even take a hard look at it, the fact that C# is derived from it tells me it doesn't include all the OO features C++ would have :P Honestly though, there isn't many times I actually use C++, i've never done anything super huge in the application world and Visual Basic gets me up and running quicker then anything.

    I would have to totally agree with you jono about java tho, I find it alot more work to get anything up and running.
    In topic "NEW: HELP"
    interesting, thats one of our members here at the forums that have removed our copyrights
    Our forums are a replacement to phpBB or invasion board.
    In topic "PHP finding string"
    PHP Code:
    $string = &quot;SELECT '*' FROM 'database' WHERE field = 'value'&quot;;
     
    // Get all the data in the quotes
    $offset = 0;
    $fields = &quot;&quot;;
    $return = getDataInQuotes($string, $offset, $fields);
    if(!$return) die(&quot;Cannot find fields&quot;);
     
    $db = &quot;&quot;;
    $return = getDataInQuotes($string, $offset, $db);
    if(!$return) die(&quot;Cannot find database&quot;);
     
    $condition = &quot;&quot;;
    $return = getDataInQuotes($string, $offset, $condition);
    if(!$return) die(&quot;Cannot find condition&quot;);
     
    function getDataInQuotes($data, &$offset, &$output) {
     
    $s = strpos($data, &quot;'", $offset);
     
    if(FALSE === $s) {
        echo "No quote found";
        return false;
    }
     
    $e = strpos($data, "'
    &quot;, $s + 1);
     
    if(FALSE === $e) {
        echo &quot;Missing ending quote&quot;;
        return false;
    }
     
    $output = substr($data, $s + 1, $e - $s);
    $offset = $e + 1;
    return true;
     
    }


    There is a possible solution, I mean you will still need all your logic to determine what data your expecting. Your sql syntax is not up to standards though, you really need to take a look at the W3 website and get all the proper SQL syntax, using that it will be alot easier to expect what to get programmically as well.
    Sure np, If you want a more detailed example of how i parse queries in TextDB go look in SVN at the newest version of tdb.class.php and find the parseQuery function. Food for thought...
    Thats an interesting idea with the query parsing. I'm not sure if i would gain anything from that though. Our query syntax is relatively easy to parse as it is. We use alot of strpos() which i'm not sure if its good or bad.

    Seeing the benchmarks though, I'm really tempted to have a extra option to cache the entire table. Probably would never use it on the forums since I want to use a little memory as i can but still you guys have me inspired.
    Codex, if you going to have a server setup like mySQL or anything like that then you may as well use some sql server. The whole purpose of the php text-database is to avoid that part all together so the user does not have to install anything on there server box. I'm pretty sure some sql systems out there offer encryption of the database (i'm not positive about this). You could make a wrapper script for sql that takes an array like you describe and convert it into a SQL string and use one of the existing database systems. That, i'm sure would be attractive to alot of users, some of us (including myself) are not really fond of SQL.
    Well all databases store the data in a file eventually. But anyways if this is just for educational purpose then go nuts.
    Gigaman, i'm glad you mentioned the whole project thing, I was really considering allowing UPB to support other text databases out there too. Chibiguy's system would be awesome for small sites, and possible PQL in the future.
    I wrote the entire class in VB back when the new format of TextDB was released, i'll have to see if I can find it. But yea, that would be sweet if you wrote it in C#
    In topic "Database loading times"
    Although I do mostly agree with what chibiguy said earlier. TextDB 5 is designed to handle large scale forums. In theory as you increase database size textdb will be getting closer and closer to your database speeds. That however is not our main concern, as I've said before, TextDB is also designed to take as little resources as possible. You will NEVER see "PHP out of memory" with textdb no matter the database size.
    Quote:
    im curious now, so upb2 is gonna use textdb5?
    sounds interesting :D



    correction: upb2 IS using textdb5, upb2b1.x has all been using the new textdb.
    I wanted to show you guys what i'm talking about in regards to memory usage.

    www.myupb.com/tim/results2.htm

    Giga, i am using your old version but thats not super important for this one, take a look at the memory at the bottom with the results.

    I have created a function to recursively addup all your global class variables using strlen() immediatly after running all the queries.

    Here is the code to calculate how much memory your object is using, feel free to critique.

    sizeofObj is called on your object which in turn calls the other function.

    PHP Code:
    function sizeofObj(&$obj) {
        $size = 0;
     
        foreach($obj as $val) {
            $size += sizeofVar($val);
        }
     
        return $size;
    }
     
    function sizeofVar(&$var) {
        $size = 0;
     
        if(is_array($var)) {
            foreach($var as $val) $size += sizeofVar($val);
        } elseif(is_object($var)) {
            $size += sizeofObj($var);
        } else {
            $size += strlen($var);
        }
     
        return $size;
    }
    Giga:

    Although your logic is good, your numbers are totally off.

    I will compare txtsql and textdb since i don't have the new pql to benchmark.

    Lets say in a real scenario we need to run 10 queries on the same table to generate the page of whatever. Using the benchmark I came up with txtsql being 10x faster then textdb. Now lets look at memory usage...

    I have no idea where you came up with textdb uses half of what txtsql uses but here are the real numbers...

    txtsql: ~ 185,738 bytes + ?? during processing
    so it uses ~185,738 bytes in 0.1394 seconds.

    textdb: 121 bytes + ~70 bytes during processing since the record length is 70 bytes
    so textdb uses ~191 bytes in 1.3637 seconds.

    Now, according to your logic that gives:
    txtsql: 25,891 byte seconds
    textdb: 260 byte seconds

    now again using the same logic you used to compare our systems before that makes txtsql 99.5X less efficient then textdb.

    All i'm doing here is using your logic but with real numbers.
    Quote:
    also, your function is very flawed.. you fail to take into account that php does not necessarily clear it's memory when you unset something or reassign something. every time you read something / run a function its more overhead going into the total cost. i'm doing a test on the systems now, preliminaries show that when txtsql runs, the memory usage barely falters, but around the fsql/txtsql area it doubles (increase of 25mb)



    Your totally right my function does not give an accurate value of how much resources it actually uses. I like your idea of using the system monitor problem is theres too many variables in that one just watching the monitor. I will try and find a way to see the system monitor through php and maybe that will give us a better idea.


    Quote:
    ... All servers are defaulted to 8mb limit, why not use it, if your overhead doesn't go over to 2mb limit, your absolutly fine, I personally think that if you can do the queries in under a second then this is best to use for resources such as forums, content management systems etc...



    One big complaint of web hosts (or at least it used to be) is that they hated forum software to be run on there servers. Forums are known to be one of the biggest resource users on web hosts. My thinking is, why not use the LEAST amount of resources to maybe even get webhosts to support our forum software
    Linux testing server I have at home, I can try what your saying when I get home from work.
    after a gruling 6 hours of setting up, testing, analysing... heres the results i came up with. To be honest they seem to be fairly conclusive.

    Each db system was run seperatly querying 10 times, most of the memory used is overhead from the httpd process. I think if i do this again i will install php as CGI and run it independent of apache. Could be even more conclusive.


    PQL
    min: 7304 KB
    max: 10,132 KB
    avg: 8783 KB
    time: 5.8454 seconds
    kb*s: 51,340

    txtsql
    min: 7304 KB
    max: 11,164 KB
    avg: 7951 KB
    time: 0.4119 seconds
    kb*s: 3,275

    textdb
    min: 7272 KB
    max: 8308 KB
    avg: 7735 KB
    time: 2.5815 seconds
    kb*s: 19,967

    You will notice the times are much greater than normal, this is because i have the shell script running in the background logging which eats alot of memory. The kb*s value is what we were measuring performance by before, so in that regard it does look like txtsql is the most efficient. However textdb does maintain a low CPU usage throughout the query, whereas pql and txtsql peak the cpu. But in regards to work done, txtsql is the most efficient here.


    This brings us to the next test, adding, editing and deleting records.... sometime in the future.
    Quote:
    now we need to measure CPU usage per second too xD
    i'll see if i can whip something up in C++ to log this for us. not sure how i would go about doing that though :| not exactly a pro at this stuff, thats why i suggested using ps.



    I have this logged with ps, using the shell script I was able to achieve samples about every 7mS. I had to process log files a few MB for each of the systems. So to get CPU usage per second its just a matter of interpreting the log files.
    In topic "School banns any and all phsical contact"
    I'm sure alot of you have already heard about this, but i just can't believe it.

    There is a school that has banned kids from even giving a handshake or highfive. A guy recieved a detention for putting his arm around his girlfriend.

    This is honestly one of the most rediculous things I've heard. Sure there is some bad things that come from touching but thats like saying: Cars kill some people, lets ban them. OR Too much bubblegum causes choking, lets get rid of it. I'm one who believes you can only learn rights and wrongs from experience, whether it be you personally experiencing it or seeing someone else do it. Think of how messed up these kids are going to be when they come out of highschool... ugh..

    Thats my 2 cents
    In topic "Codex Holiday"
    *agrees* hope to see you back soon!
    In topic "Wants source code"
    I would need some more information to answer your question. Alot of times color pickers are implemented using javascript client-side. If thats the case then a simple search on google for 'color picker' would work.
    You could try this: www.mattkruse.com/javascript/colorpicker/ First of many links when searching for "javascript color picker" in google. It looks like that link i provided is what your looking for.
    In topic "Hello all"
    Be sure to post your changes in the skins forum. Always like to see what people are doing.
    Quote:
    I agree; Someone once told me of this interesting place called "outside".



    Haha good one, but i know your joking. :P
    In topic "My Site - A.D."
    Yea i agree, you did an amazing job with that skin. Really professional looking!
    Man dude I know I said before but the way you customized UPB is just SICK!!! (in a very good way)
    Quote:
    you should really put him on the graphic design team



    take a look at his status :P
    I am closing this topic as per The_Rippers request, you guys are welcome to start a new thread if you want to continue.
    In topic "What is phpoutburst?"
    It was the site I originally had to hold all my scripts like: EasyNews, TextDB, and UPB. But since UPB got so popular support for the other two died out and we just focus on UPB now.
    I was fairly young when i started it and didn't have access to a creditcard, by the time i was able to get a domain upb had already gained in popularity alot.
    lol, I meant in terms of downloads.
    In topic "Making Donations to UPB"
    Doh, I completly forgot to reply to this, heres the link.

    sourceforge.net/project/project_donations.php?group_id=32653
    In topic "PHP Fwrite() Question"
    $f = fopen("File.txt", "r+b");
    fseek($f, 10);
    fwrite($f, $string, 10);
    fclose($f);

    String can be of any length, it will only write 10 bytes and none of the other data will be touched
    Quote:
    basically fwrite replaces the start byte with your entire string, so you need to keep seeking to the next byte and fwriting one byte at a time.

    weak.



    That's completly not true. TextDB is living proof. My code will do exactly what codex wants.
    Does this mean you have a computer again codex?
    haha Clark, you deserve a kipper straight to the face :P
    In topic "Feedback."
    Looks great! how much did you get that done for? I need to do something about this website. Also another quick question, does txtsql do inner joins? TextDB does not but I'm starting to think it should.
    The_ripper i just looked at your site again, i can't even believe thats upb, I know i said this before but awesome job!!
    In topic "UPB Wiki Upgrade"
    Good job clark, hopefully no more spam anymore!!
    I agree with what your saying ripper but, on that same note, the reason we are using sourceforge's services and bring up our rating which in turn brings us more consistent traffic. In one week we have went from about rank 10,000 to 151. Yes it is a little more confusing to use, but I do believe it will bring us more people.
    In topic "Your dream skin"
    I like light because it brighten's everything up! Something professional looking.
    In topic "Want to translate..."
    Thats awesome!!

    I will try and answer your question about TextDB's limits. TextDb is designed to be size-independant meaning that it shouldn't matter how many records are in the database, it only grabs what it needs. However, when running queries unless we implement some complex indexing of the records querying will always have to look at the data sequentially and takes time. What i'm saying is that TextDB does have its limits, we have not found them yet and i have seen some rather large forums out there using UPB so until someone complains about loading times that question can't be answered quite so preciously.
    In topic "MyUPB at Cms-help.net"
    Do you mean to use UPB in cms-help?
    We would LOVE to see UPB used in cms-help, if they need any help integrating it let us know.
    In topic "Back to Action"
    Sweet man! post some links here when your done them
    In topic "Having trouble with registration"
    open up config.php and remove ALL whitespace before the <?php and after the ?>
    In topic "Way back machine"
    welcome back
    In topic "Message updates"
    Do you mean you cannot update your avatar in your profile? For you inbox, does it always say you have messages?
    In topic "What Webhost company compatible with MyUPB?"
    Try ours, hostforweb.com, we love it here.
    In topic "No Email system"
    Point well taken, we used to do this and we plan on having this as an option in the admin panel in future releases.
    In topic "Which "HostForWeb" Packages?"
    we just have the 10.00/month package with hostforweb and it works perfectly! They have amazing tech support and CPanel which is my favorite.

    PS: Clark that php5 thing might only work on hostforweb, apache has to be setup to do that. Hostforweb lets us use php4 by default but we can use php5 with that .htaccess hack.
    speaking of sql backup's, i've never really had complete success in doing a backup, move to another server, restore....
    hmm i think they have a referral program, would you mind putting us down for that? i'll have to find out the details tonight.
    i really don't see the problem with hostforweb, its got the prices listed there so you know what your paying. I told you the reliability of the servers so you can take my word on that one. I tend not to go super cheap when i'm shopping, i want something thats going to give me what i want and i'm willing to pay for it. my 2 cents.

    ps. you don't have to get a domain through hostforweb, my domain is hosted with godaddy.
    In topic "Auto Forum Script"
    really all you gotta do is have a central copy of upb on your server. then when a user wants to install it just make a function to copy the central copy to a folder of the users choice and then send them to the install script. You can even change the permissions in php so the user doesn't even have to worry about that at all.
    In topic "Firefox 3.5 Released"
    I'm all Chrome :P
    In topic "Hard work has paid off"
    Congratulations Clark!
    In topic "THANK YOU !"
    Always happy to hear from a satisfied customer! You are what keeps us going and gives the motivation to do what we do.

    As for the downloads, it would be much preferred just to leave a link to our download page on sourceforge sourceforge.net/projects/textmb/files/ The reason being is when we release new versions we like people to be going to a place that will always have the most current copy of the forums. And thankfully sourceforge does not charge us for bandwidth so thats no worry of ours.

    Thanks again for your interest!
    In topic "I need help for creating my search engine!"
    Change this line:

    Quote: osmantekin at Aug 16, 2010 6:39:08 pm

    if (stristr($handle,"$_GET["search"][$c]")) $b[]= 'yes';




    to:

    Quote: osmantekin at Aug 16, 2010 6:39:08 pm

    if (stristr($handle,$_GET["search"][$c])) $b[]= 'yes';


    In topic "spammers on this forum"
    Doing some cleanup...
    Agreed!
    In topic "Anyone using Git?"
    Hey fellow developers,

    Anyone else looking into or using Git for revision control? I have been doing some research over the past few days and it sounds very promising! Would love to hear any feedback from any of you already using it.
    In topic "hi"
    Signatures removed..
    In topic "Merry Christmas"
    Merry Christmas Clark and to everyone else!

    In forum "Textdb Discussion"
    In topic "Textdb"
    I just wanted to let any of you new members that our in-house TextDB system is available for personal use. Its a nice little system. A little weird at first but if you practice a little bit its actually SUPER easy to use. I personally like it alot better than SQL and is why Me and Rebles built it :P Anyways, heres the links:

    Note: By downloading TextDB, you agree to the terms and conditions laid out in our fileserver index
    TextDB

    Wiki Page

    [small]edit: added disclaimer ; )[/small]
    mmmmm Candy...(offtopic)
    Check this out, its really easy to start going
    www.myupb.com/wiki/index.php/TextDB_Manual
    Thanks gigaman :D
    In topic "Useful Idea #001"
    a boolean field would be nice, but i generally just use a 1-char number field giving me a 0 or a 1. Something to think about anyways.

    As for the LOCK type, my question would be, why? what if at some time you wanted to change the data? I mean, for the Id field I guess you could say its locked but thats cause we will never want the id to change because usually you reference the id to find that record.

    Please let me know what your thinking was behind the lock field, i'm curious.
    ok, i see. yea that would be pretty cool.
    we just didn't have that word added :P
    In topic "Useful Idea #002"
    1) I am searching on php.net and can't find a function called chopper, can you elaborate a little, not quite sure what your asking.

    2) The size of our string field is defined when you create or edit a table, if you talking about our memo type field, that can be calculated easily by:

    $memodata = "3248,5982"; //sample memo data from table
    $memodata = explode(",", $memodata);
    $length = $memodata[1] - $memodata[0];

    is that what you were asking? or am i on the wrong track?

    Oh and for the database size, rebles has made a function to do that, maybe if he reads this thread he will post it.


    correction
    memo data is not so easily retrieved anymore, rebles has made a block system so the process is a little more complicated, but if what your really after is the size of the database you can just do a filesize() call on 3 files to get the size of that table:

    dbname_tablename
    dbname_tablename.ref
    dbname_tablename.memo
    don't you have a script to get the size of the database? it might just be the size of the folder but i'm pretty sure you have something along those lines.
    Um wtf, I'm sorry but which version of textdb are you giving us suggestions from? We havn't used that type format for almost 2 years. You might want to go ahead and look at the newest version which upb 2.0 uses.
    In topic "File Locking"
    I talked to you about this on msn, but in short...

    Textdb uses a system based on your filesystem. The whole db is divided into fixed length blocks, when adding or editing records it never has to rewrite the file. Adding it will simply seek to the end and add a new block. For editing, it will simply use some math to determine where that block exists, seek over there and just overwrite that individual block.

    By using this type of system it actually allows multiply users to be adding or editing the same table at the same time.
    TextDb uses SET field lengths, what i mean is when you go create a table with lets say these fields:

    firstname, string length 10
    lastname, string length 15

    Now you goto create your first record, lets say:

    firstname = "tim"
    lastname = "hoeppner"

    what textdb actually stores is:

    firstname = "tim      "
    lastname = "hoeppner      "

    so when someone goes to edit "tim" to "timothy" nothing proceeding this record is moved. And if you exceed the length you set when creating the table it will just trim it off so it fits in that spot.
    In topic "Database Encryption and Decryption"
    Since textdb and upb goals are to be as fast as possible, i have no desire to add any database encryption. But thanks for the idea. As for readability you should really take a look at a textdb table, its really confusing even for me and i made it.
    In topic "listRec Addition"
    query($fp, $query, $start=1, $howmany=-1)

    This functionality exists and supports for multiple arguments in the query string, a few examples:

    query("table", "name='John'&&posts>'100'"); would return all records with the name field EQUAL to John and posts greater than 100

    query("table", "message?'myupb'&&username='pilot'", 1, 10); would return the first 10 records with 'myupb' somewhere within the message field and username equal to pilot.
    In topic "SQL Useage"
    Like Rebles said, without going into further detail on this subject, we would like to keep some things on the down-low for now :P
    In topic "TextDB query question"
    we have no JOIN functionality but we do have LIMIT functionality on all our return functions (listRec, query), if you open up the textdb class file you will see the function prototypes with there aruments. your looking for $start and $howmany, I think those are self explainitory.
    I will consider adding a JOIN type function, I know alot of people use this in there SQL queries and it would be nice to do everything a SQL database can.
    are you using the textdb class found on the fileserv?
    In topic "TextDB problems"
    where did you get the tdb.class.php from that you are using?
    ahh, dang we need to update that. Try using the one found with UPB 2 Beta 1.4, see if you have the same problems.
    excellent!
    In topic "Identical queries produce different results"
    can i see your code? either on here or send me a PM
    Yay! Very glad you like it!!!
    May I ask why you guys want to run the same query in the same script?
    Quote:
    Because I don't know how to use cached query results (if it's possible). In my script, colors used in another script are listed. Some colors are used several times so my query (which is located in FOR loop) repeates.
    I expected the same results but I got nothing instead...
    As I wrote previously, $tdb->cleanUp() doesn't help.



    lets say you store your query in $query, why don't you just run a for loop twice with the same data instead of querying twice???
    I think there talking about something else.
    In topic "Testing of script"
    I don't really have time to do any thorough testing for you but I just wanted to say I think its awesome that you chose to use TextDB for your script. And as far as I can tell from 5 minutes of browsing the page, everything is working nicly.
    In topic "SQL in TXTdb"
    We are thinking about making a SQL interpreter for textdb to help along coders wanting to mod up upb. Although we have alot more stuff on our plate right now so i wouldn't count on it very soon.
    i just wanted to include a new function sql() which would just parse the statement and call the appropriete text db function.
    Quote:
    the SQL db has to be read into an array like TextDB does.



    FALSE. Textdb does not read the database into an array.


    Quote:
    it is going to be hella-hard to make the same compatability between the two as you have so many files for it.



    Do you think TextDb was easy to write? Sorry but we don't come up with a new text database system every week codex :P
    Hey buddy, just email it over to me, i'll upload it here.
    Attachment: txtSQL.zip

    Download at your own risk, i'm just saying that cause its not mine.
    In topic "setFP query"
    just pass your textdb class variable by reference to all your functions like:

    $tdb = new tdb(directory, textdb);
    $tdb->setFp("blah", "mytable");

    function whatever($someVar, &$tdb) {
      $myQuery = $tdb->query("blah", "name='bob'");
    }


    by doing this, you could even set new file pointers in each of your functions and they would be accessable outside of your functions (as long as the function had been run first)
    In topic "Question about queries"
    No there isn't.... why have we not done that?? not sure, i'll add that in.
    Jerroyd i think you can handle that feature on your own :P
    i thought we were over with the whole slapping people with the fish :P
    LMAO!!! nice, now i understand!
    i don't know, i havn't benchmarked it in a while.
    Even though codex asked for queries per second, no one benchmarks a database like that. Everyone wants how many records per second the system is able to go through.

    The way i use to do it is I had this huge database of drugs (don't ask where i got it) with a known amount of records. heres the psuedo code:

    Quote:
    start_time = current_time;

    query = tdb->query(conditions);
    echo "found count(query) number of results.";

    end_time = current_time;

    records_per_second = known_amount_of_records / (end_time - start_time);



    that will give you a little more of a impressive result. Codex, why did you want to know queries per second? did you mean records per second?
    First of all benchmarking is not meant to be effiecient, its meant to test the capabilities of whatever your benchmarking. So if you run one query and just iterate that amount of time I would say thats HIGHLY inaccurate.

    Again though, why would you want to benchmark how many queries you can do in a second???? For instance, I could have a table with 1000 records and one with 1 million. Of course with both of your benchmarks are gonna give a much better result with the 1000 record table. But wouldn't you say thats in correct, i mean your benchmarking the exact same system but you would have 2 very different results. This is why when anyone runs a benchmark on a database system they do Records per Second, NOT queries per second. Queries per second really means nothing because of its dependacy on database size.
    which math did you do in university? that looks like schrumptous cake compared to anything i've seen at university.
    Ahh geeze calculus.. Its funny I had to take all these calculus courses in my first year, but now all the math courses are all about methods to AVOID using calculus. Its like calculus is nice but no one uses it unless they absolutly have to.
    In topic "Unable to delete records"
    Hey,

    The reason its not displaying records after the ones you delete is because of the way your looping through the records. Use this:

    // Get all the records
    if(FALSE !== ($records = $db->listRec('colors', 1))) {
        for($i=0;$i<count($records);$i++) {
            echo $record[$i]["field"];
        }
    } else echo "No records were found";


    or if you don't want to have a big array of data you can do it like this:

    $num_of_rec = $db->getNumberOfRecords('colors');
    for($i=1;$i<=count($num_of_rec);$i++) {
        $record = $db->listRec('colors', $i, 1);
        echo $record[0]["field"];
    }


    I prefer the first option, its really how textdb was setup to loop. The getNumberOfRecords() was really not meant to be used for looping, in fact i never even thought of using it this way. I definitly recommend the first option.

    Now for your deleting problem, I would say this is due to your code. First thing i would do is in your delete section run a var_dump($_POST['to_delete']); to make sure the right id's are being passed through your form. Send your code over to me if you want me to debug it.
    Quote:
    In the line where you have echo $record[$i]["field"]; it actually should be $records



    whoops, anyways glad you got it sorted out.
    please no, not the kippers!!!
    test
    In topic "TDB problem"
    your creating a massively large record space. for size, hits, and comments, that length is the number of digits so your making those fields 10 million characters long. If your looking to have a number of maximum 10 million then you should use 8 as your length not 10 million.
    In topic "Avoiding insetrion/injection"
    yea just adding to rebles, we don't use any sort of seperator anymore, so no worries.
    In topic "Query and basicQuery despite results, return errors"
    Your wish will be done, after Jerroyd adds the new sort functions, I will turn my error reporting to E_ALL and take care of all the notices.
    once again i avoid the kipper
    In topic "Database creation problem"
    Use a full path instead of ../ that was done to just to protect the user just in case they used a textbox for the directory or something.
    fair enough, lol
    In topic "Database dump"
    Very cool, I'm not sure if many of you guys know this but one of our members made a complete front end to the database system as well. Let me know if you guys are interested and i'll upload it.

    Me and Jerroyd use the front-end all the time when we dubug any TextDB problem or UPB problems.
    Attachment: tdb-front.zip

    here ya go, just open up tdb.php and edit the password.
    UH NOOO, yea i did. :P
    In topic "Edit a file without locking it"
    you can append to a file by opening a file with the "a" switch or if you want to read you can use "a+".

    But... we actually just use the "r+" switch and use fseek() to seek to the end of the file and just start writing.

    An xml based system is fine as long as you don't have alot of records. If I was going to do it though I would use a fixed-length backend and then just have a function to export the database in xml format. This would give you the fast data access.

    Also it could be really useful for when you just want records 100-120 (or something). You could simply query the database for those records and then build a xml file containing only those. But whatever do what you want.

    I should mention something tho, variable length databases can actually be faster to retrieve data from as long as its in a sequential manner. If you want to do random access then your f**ked.
    In topic "Edit record question"
    Just to add to Rebles,

    The reason we don't have built in functionality for this is simply because we have designed everything to be referenced by the ID field. Therefore we made our edit, delete functions use the ID field. The database design has an extra file TABLE.ref which holds a quick reference from the record ID to actual position in the table for quicker access.
    Yea good idea Clark.
    In topic "Invitation to join our benchmark :D"
    We are undergoing some heavy development on TextDB right now but we are definitly interested, I will talked to Rebles and see what we can work out.
    Cool, i always remember yours being the fastest (other then mySQL) back when i was doing benchmarking. Good work!
    Quote:
    also, out of curiosity does txtdb cache the database before it starts querying? every other system seems to only cache when it needed to, but txtdb didnt even falter the first iteration, so im assuming it caches the data during the startup?



    TextDB does not cache the database at all. One of the goals of textdb was to be nice on memory usage and so you don't need a monster server to use our forums as was a problem with alot of them out there.
    uh oh, looks like someone has a boo boo to work out.
    chibi, could you send me your new version of the benchmark, i would like to take a look and run it over here too
    Oh gigaman, All of us at the forums noticed you removed our copyright at the bottom of our forums at your website. I would really apprieciate you putting that back up. We have years of work in this forum and kind of like some credit for it.
    side note: Sweet new avatar Rebles!!
    Thanks chibiguy. I just ran the benchmard on my home machine, very nice job, i like how it outputs the results as its running very neat!

    Btw, i had to remove the api system, got a whole bunch of errors but here is the results

    www.myupb.com/tim/results.htm
    Hey chibi, there is a little problem with your Queries/sec result.

    round(4778 / $system['totaltime']) would give you queries/sec if only one of the 25 queries was run, i added in the following:

    round((4778 * $numQueries) / $system['totaltime'])

    $numQueries being 25.
    Another thing, in all fairness, no one is ever going to run 25 queries on the same table in the same script. I think 5 is pushing it honestly.

    I would like to add one thing to this benchmark, i want to see if i can find out memory usage for each system just to give an idea on how much server load each system takes.
    Quote:
    aye not really, a good bbs would be running around 10 per page load.



    It really depends on the design of the forums, technically you really should only need to query each table once since your querying all related information. I do admit thats not the case even there, but it is almost possible with enough organization.
    hmm, tried it on my benchmark, didn't seem to change PQL's speed at all.
    In topic "Benchmark development"
    I don't know if you guys remember but I had done this a while ago. I think I might still have the database I was using, i believe it had around 10,000 records. I will snoop around for it and let you know if i find it.

    I'm pretty sure chibi remembers, I think I was testing his system along with mine and mySQL.
    just for clarification, my database records are all unique, its actually around 10,000 unique records so its good for running queries on.
    In topic "tdb help"
    do you have my old drugs database???
    chibi can you send me the database, i'll convert it into a textfile so we can all read it in and create our own versions
    Sweet man, thanks alot, i've been looking for this for a while. I am busy at work right now but after I will take a look.
    In topic "Rebuilding tables in V.5"
    If you outline your problem with more detail i'd be happy to suggest a solution. Me and Rebles have found numerous ingenious solutions to make things work nicely.
    In topic "new but amazed"
    Yay for Rebles!

    In forum "UPB 2 Installation Questions"
    In topic "is it that easy?"
    I guess so, i'm a little surprised there hasn't been any posts in here yet, but i guess thats a good thing. Hopfully its all going very smoothly for you guys. I know when I installed the new version on this server it went so fast :P
    In topic "FAO"
    I just barly did a fresh install on this server, and I get zero errors. Whats your server info?
    Yea I am confused as well, I have been doing it like that for years now and had no problems.
    In topic "file permissions"
    Quote:

    == INSTALLATION ==
      CHMOD the root UPB directory and the config.php to 777
      Execute the install.php
      WAIT UNTIL INSTALLATION IS FINISHED
      CHMOD the root UPB directory and the config.php back to 644




    straight out of the readme found in the zip file.
    In topic "Security Code"
    It's possible your server is not configured with GD. I will give you two options:

    1) ask your webhost to re-install php with GD enabled, or
    2) I can modify your register page to by-pass that security code

    If you want to check to make sure, create a blank php file with the following contents:

    PHP Code:
    <? phpinfo(); ?>


    then run this file on your webserver, look for a section GD and it will let you know if its enabled. If it is enabled, well let me know and i'll try and think of something else.
    i'll modify the register.php for you, give me a little bit.
    Goto this topic and download the modified register.php if you want to bypass the security image.
    Hmm, it shouldn't matter that they are hotmail accounts. There was another user that requested that to be able to register without having the email sent to them, is this what you would like as well?

    And what did u have to change to get the security code to work?
    Oh ok, didn't realize it wouldn't send the data if it was disabled...

    Codex i made a note about that, thx.

    And yea i'll make a modified register.php for users that want to recieve the password right away.
    lol...
    I'm not sure what you mean there politeboy
    You realize that defeats the purpose of the security code right? I could easily make a script to auto register user names with that in place. The purpose of our security image is to battle just that.
    We are now using the sourceforge trackers for bugs and support requests, please post there. It doesn't require any registration.
    In topic "MOVED: Install not working"
    In topic "DB_DIR has not been defined."
    I think codex means register globals, but this should NOT need to be on, in fact we have code in our board to counter the effects of register globals if they are on.

    So just to clarify, for our board, it will work with register globals on or off, but as a security precaution for any other scripts you write it would be HIGHLY recommended to have them off because it is very easy to write huge security holes in your scripts with it on.

    May I ask which step of the install you recieved this error? The only time you should recieve that error is if you are trying to access a file like header_simple.php using your browser.
    Did you CHMOD 777 to the config.php before running install.php?
    In topic "says missing pms but it is there"
    First of all, please tell me you backed up your forum like the readme said.

    Did you happen to run the upgrade script, stop it, and then run it again?

    Um if you want, I can try and help you get it working, add me to msn messenger rr_pilot@hotmail.com

    I would do it here but you might have to post some sensitive data and i don't want that to be public. but its up to you.
    Ok if thats the case then just remove copy u tried to upgrade and restore your backup of the entire forum, redo the upgrade process but only run the upgrade script corresponding to your version.

    And if Codex is right and your on a windows server, its possible we might have to play with your error reporting but sometimes the admins do change it.

    Anyways let me know what happens
    In topic "Problems with permisiion"
    delete the forum directory and re-upload a fresh copy of UPB.

    follow the instructions in the readme:

    Quote:
    == INSTALLATION ==
      CHMOD the root UPB directory and the config.php to 777
      Execute the install.php
      WAIT UNTIL INSTALLATION IS FINISHED
      CHMOD the root UPB directory and the config.php back to 644
      DELETE update1.x-2.0.php and install.php, they are a security risk



    the first line telling u to chmod means: if you uploaded the forum to yoursite.com/forum you need to chmod 777 to the forum directory and then the config.php inside the forum directory. after u follow the other steps change the forum directory and config.php back to 644.
    can i see your php info?

    phpinfo.php

    <?php phpinfo(); ?>
    Attachment: image.zip

    Ok,

    for your image problems try my attached zip file, this file is found in forumdir/includes. it uses a jpeg image instead of png, I think some other users have had problems with png. Let me know if this works.

    Ok for your permissions, I believe this is a problem with your users on your UNIX box. you need to setup a user account nobody with usergroup nobody (i believe), this is the default user/group that php uses. The reason it works with 777 only is because php doesn't have access to your files.
    In topic "question"
    when you go and extract the zip file you download you will find a readme txt file with the following contents:

    *************************
    UPB 2.0 BETA 1 RELEASE
    *************************

    Getting Started:
    == INSTALLATION ==
      CHMOD the root UPB directory and the config.php to 777
      Execute the install.php
      WAIT UNTIL INSTALLATION IS FINISHED
      CHMOD the root UPB directory and the config.php back to 644
      DELETE update1.x-2.0.php and install.php, they are a security risk
    In topic "EMail"
    just send me your register.php and i'll mod it for you, its just a temporary fix until the new version comes out (pilot@myupb.com)
    Admin Panel -> Config Settings -> New Members, there is an edit box to change the welcome email.
    In topic "How to install..?"
    Download the latest version found at www.myupb.com/viewtopic.php?id=1&t_id=1, unzip the file into a folder on your harddrive. Inside you will see a readme.txt file containing:

    == INSTALLATION ==
      CHMOD the root UPB directory and the config.php to 777
      Execute the install.php
      WAIT UNTIL INSTALLATION IS FINISHED
      CHMOD the root UPB directory and the config.php back to 644
      DELETE update1.x-2.0.php and install.php, they are a security risk
    In topic "Add New member error"
    check out this topic:

    www.myupb.com/viewtopic.php?id=11&t_id=46
    In topic "New User"
    Two questions..

    1) What version of UPB did you download?

    2) What forum are you coming from (include the version), it won't be a simple matter of dumping out the sql database into a file. For one, we don't have any of the same column or table names for storing data. Two, Our database system is unique so we will need to make a convertor script. I'm not saying its not possible but its going to require some work.
    download this tool, upload it to your webserver and give us the address of the file.

    [small]Rebles's edit: renamed file: replaced space with underscore.[/small]
    Ok i forgot Codex doesn't have the GD stuff in there. Make a new file called info.php with the following contents:

    PHP Code:
    <?php phpinfo(); ?>


    upload this and give me the url
    Ok, the reason the security image doesn't show up is cause you do not have GD library installed. You or your webhost needs to install this into php otherwise you will have to disable it.
    I know from experience installing php extensions can sometimes be really annoying. Check the extension_dir variable in the php.ini and make sure the gd dll is in that folder, also remember to reboot your server when you make changes to php.ini


    For the conversion, I was kind of hoping you used free forums before, I don't own a copy of vBulletin. I could try converting it still, you will need to do a database dump and send me the sql file. I'll try and make it happen.
    In topic "BIG PROBLES"
    Take a look at this topic please www.myupb.com/viewtopic.php?id=9&t_id=25
    yea its already been done in our development copy
    In topic "board install PHP script mess-ups"
    that was an accident
    In topic "A couple of questions"
    Ubuntu box:

    GD can be a pain sometimes, however, several users have complained about the png libraries. If you do a search on the board you should find a fix which uses jpg or gif libraries instead (i would find it for you but i'm leaving in an hour to go camping :P)

    As for the sendmail, you need to set the path of sendmail in your php.ini file, restart your webserver and all should be well.


    windows box:

    for the checkdnsrr error you can add the following code to your includes/inc/func.inc.php

    PHP Code:
    if(!function_exists('checkdnsrr'))
    {
        function checkdnsrr($hostName, $recType = '')
        {
        if(!empty($hostName)) {
          if( $recType == '' ) $recType = &quot;MX&quot;;
          exec(&quot;nslookup -type=$recType $hostName&quot;, $result);
          // check each line to find the one that starts with the host
          // name. If it exists then the function succeeded.
          foreach ($result as $line) {
            if(eregi(&quot;^$hostName&quot;,$line)) {
              return true;
            }
          }
          // otherwise there was no mail handler for the domain
          return false;
        }
        return false;
        }
    }


    I will have to look into your login problems a little further though. Unfortunatly you will have to wait till after the weekend (unless someone else helps) because i'm going camping.
    In topic "Fine untill change chmod back to 644"
    We are talking about the forum root, so that would be upb2.0 in your case. Go into your upb2.0 folder and you should see a folder in there with lots of characters that make no sense (a random generated directory. Check the permissions on that folder, and the files within it. They should bee 666 or 777.

    For file attachments, there should be a folder called uploads in the upb2.0 folder. if not create it and change the permissions to 666 or 777.
    In topic "getting attachments to work"
    Ours are temporary down for our own reasons.
    In topic "Fatal error: Call to undefined function: file_get_contents()"
    What version of php do you have? You must have PHP 4 or greater.
    Thats not going to work giga, for some reason your writing to the file, file_get_contents gets data from the file, it doesn't write anything.
    In topic "Errors with "add forum" code"
    Can you copy and paste the full error message please?
    In topic "Install can't write to config.php even though it is set to 777"
    If you have shell access to your server please type the following command:

    PHP Code:
    cd /path/to/forum
    ls -l


    replace /path/to/forum with your server path to the forum. Paste the output from 'ls -l' in your reply.

    Also, Your php version is pretty old, there has been alot of things changed/added in 4.2, i would suggest upgrading if you can.
    In topic "Stupid question about displaying board"
    First off, your by no means a moron. Any question is a valid question.

    The easiest way to integrate the forums into your website template is to edit the skin files in the skins directory. From there you can customize the look to whatever you want.
    In topic "How to set redirection for fourms?"
    Rebles actually just whipped that up one evening so we could easily show our users we are using sourceforge to track bugs now.

    But, maybe we should be adding it in.

    If you don't mind, post this in our feature requests.
    In topic "Security code doesn't work in 2.1.1"
    Thanks!
    I am unable to extract your RAR archive, can you compress it with the zip or bz2 format?
    In topic "Reinstalling UPB 2.1.1b without losing the settings"
    I am closing this topic, you can refer to the bug ticket you submitted. I will hopefully be able to diagnose this today.
    In topic "ways to add adsense?"
    There are some skins and mods located in the Skins and Mods forums. Its rather limited at this point.
    In topic "RE Im having trouble installing UPP with latest UPB"
    Um, we do not offer support for any product called UPP. Someone else may have incorporated our software into theres but we do not make UPP. I would contact whoever you downloaded that from for support and then we can help you with your forum issues.
    yes thats correct, in fact I removed all references to it in 2.1.1b
    In topic "Editing?"
    its located in the includes folder if your wondering
    In topic "Text database error"
    ok, next time can you post this on our bug ticket system
    In topic "PM no work , nothing work"
    ok and again, please use the bug ticket system next time.
    I've got to look into the problem. As far as I know your the only one with the issue so i've got to try and recreate the error.

    Hopfully we will have a fix for you soon.
    In topic "URL in topic"
    Can you give us a link to where this is happening? seems to be fine over here.
    I think a bug might have been reintroduced into the new version. We are trying to avoid doing this anymore by using a versioning system but it looks like this one has somehow slipped by as well.
    Nope, havn't changed anything yet.
    In topic "Text Database Error: Database is not writable"
    I'm pretty sure just in your htdocs folder, I believe it will use that in the subfolders (could be wrong tho)
    In topic "Problem with installation"
    What version of PHP are you running? If your not sure how to check create a new file called info.php and enter in "<?php phpinfo(); ?>" without the quotes. Run that on your server.
    Its gotta be 5.3 or something, they changed a whole bunch of stuff.
    In topic "multiple error during instalation,plz help!"
    Yea I have experienced this behavior too, the installer can be completed without actually setting up an admin account.

    All you need to do is delete the data_*, uploads_* and config.php and re-run the installer and you will be able to setup everything correctly.
    In topic "instalation problem.."
    Installation of UPB only requires you to chmod the root UPB folder and run the installer. The installer will create config.php and the remaining directories.

    The errors you are experiencing are most likely related to your server not our forum software. Contact your system administrator for help.
    Quote: Pilot at Dec 08, 2010 4:12:48 pm
    Installation of UPB only requires you to chmod the root UPB folder and run the installer. The installer will create config.php and the remaining directories.



    My mistake, this will be the behavior in 2.2.7.
    In topic "Errors when installing UPB 2.2.6"
    The new version of PHP doesn't like POSIX style regular expressions anymore. We have updated all the code and will be releasing a new version in approximately a week to fix this and a bunch of other bugs. There is ways of using 2.2.6 on a server with new PHP but you need to adjust your error reporting settings in the php.ini. Do you have access to that?
    In topic "2.2.6 to 2.2.7 upgrade not workin"
    Hey Elvi,

    Can you PM me your website address and I can take a quick look.

    Also do you have access to your server logs? There may be an error somewhere but PHP's error reporting is preventing the error to show up in the browser.
    Hey Elvi,

    I got your PM. When I attempt to check your forums I get an error saying your data directory is missing. Did you remove it from your server?

    As for the logs, more commonly the logs are found in a folder something like /var/log/apache2/. Check there if you have access.
    Looks like you found it, thanks for pulling that from the logs.

    What version of PHP are you running? It looks to me like you're running PHP4 and if so I would highly recommend you to upgrade to version 5. PHP4 is becoming obsolete.

    I should have been more explicit in our README that version 2.2.7 made lots of changes for PHP5 compatibility.

    Let me know where you are at.

    Tim
    if you want to go back then just over write your forum directories with the files from 2.2.6, it should run because you haven't actually done the upgrade yet. make sure you install the security patch found in our announcements for 2.2.6.

    I will look into this particular issue and see if we can still get it to work.
    Clark, we just need to replace timezone_name_from_abbr() with a homemade function. He is using a version of PHP just before it was implemented.

    In forum "UPB 2 Questions"
    In topic "Is UPB stable yet?"
    UPB is stable in a sense that all of the features work and perform the way they are suppose to. The only reason we state this is in the Beta state is simply because of the fact that we did a full code rewrite to use the new version our our TextDB system. Basically there may be little tweaks we need to do to the code to remove any little bugs that were created in the transition.
    In topic "Upgrading from 1.96? Docu?"
    Hey There,

    Rebles has made a upgrade script from 1.96 to the 2.0 series, it basically is a overlay of files and then a database upgrade. I will try and talk to him tonight to try and get that released.

    Thank you for your interest!
    In topic "A Portal for Board MyUPB"
    Happy to hear your interest in UPB. The files you are looking for are:

    includes/class/func.class.php
    includes/class/tdb.class.php

    func.class is an extension of our tdb class (found in tdb.class.php) which contains our login functions and functions to check whether a user is logged in. If you just look through the file it should be simple enough to figure out how to use them. and of course your welcome to post any questions you might have regarding those files.

    Have fun!
    well, this could be alot of work. All of our includes and links are based on the fact that the index.php is found in the root forum directory.

    Off the top of my head the easiest way to do what you want is to include the index.php from your script, except i'm not sure if that is going to use the right paths when parsing index.php... you can try anyways, If that doesn't work i can maybe think of something else

    Edit

    I was writing this as rebles posted, what he is saying is what i said in the first paragraph, just nicly said :P
    In topic "security"
    all the passwords in 2.0 are encrypted with a key using standard encryption algorithms. Although some people still think this is not enough.

    Two things can be done:

    include a .htaccess file in the data folder with the following contents:

    Order deny,allow
    Deny from all

    Second:

    Place your data folder in a location unaccessable by the public html domain (note not all hosts give you folders under the http root) After doing this you will need to modify your data folder location. This can be done by manually editing config.php found on the root folder of the forum and then simply editing the DB_DIR constant declaration. One thing should be noted, when adding in your path you should use a absolute path (ie. /home/user/data_folder)


    I feel the .htaccess file is sufficient but moving the directory will definitly increase security.
    Codex your making it sound like the user has to do that, upb creates a unique data folder as it is already.
    No Problem, i honestly just posted that to un-confuse the other users :P
    In topic "installation error"
    The only thing I can see is that maybe your user database has been sorted or something and the Id's are not all in order.

    I'd really like to see your users.dat because I checked over the code several times and it looks good. If you could, send me that file to pilot@myupb.com

    Oh also, i wanted to make sure, your upgrading from 1.x - 2.0 correct?
    In topic "something went wrong"
    sounds like your cookies are turned off in IE
    In topic "some sort of picture not appearing at the bottom"
    http://www.myupb.com/viewtopic.php?id=5&t_id=1

    That image was suppose to be removed in the last patch, but ur welcome to remove it, its found in includes/footer.php close to the bottom
    In topic "CSS placement"
    we have very immediate plans to redo all the html in our forums.
    In topic "And the other forums"
    Sorry frank, we had some issues with our website and had to start fresh, sorry for the inconvience.
    In topic "*security code not showing"
    I guess you gave up cause the forum is no longer there. A couple of things...

    -I honestly wasn't even able to install upb 2 on php 5, i'm surprised u were able to.

    -for your mail, did you actually go and install a SMTP server on your home machine? because this is definitly not installed by default. If not you could go and try install one or instead use your ISP's SMTP server.
    great to hear!
    Attachment: register1.zip

    you can try this, i just modded the register.php to dump the username and password on screen.
    sure thing;)
    In topic "Inevitable forum stalling protection"
    This is definitly a concern of mine from the beginning, although nothing is in place at the moment. I can assure you though we will be making something to keep the MAIN database small enough to handle. Our textdb system can handle quite a load though, I have done some tests with databases with several million records with not alot of trouble.
    I agree with Rebles almost fully, except I do see a limiting factor, the part that would worry me is sorting... right now all the data is loaded into one big array, php is limited in memory and the problem is when this array gets so big php runs out of memory. I do have a solution for this however so its actually not much of a concern.
    In topic "Forum failure after moving to new server"
    If you got MSN, add me (rr_pilot@hotmail.com) i'll get this working for you.
    Rebles, I think its install.php, I'll talk to you later about it, but the latest version tries to make that table twice.
    Attachment: install.zip

    it is, I tried to install b1.4 and got the same thing, heres the fix. I will also be updating the main zip file.
    In topic "Users Online"
    try downloading from your data directory (the one with all the numbers and stuff in the name) whos_online.dat, remove ALL contents, even any spaces, upload and overwrite whos_online.dat on the server with that and it should work.
    Try the fix from this topic:

    www.myupb.com/viewtopic.php?id=5&t_id=18
    In topic "Languages"
    open up includes/header.php and goto line 152, it should read:

    <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>

    if not just run a search for it, you need to change your charset.
    what did u set the charset to be?
    I really don't know what to say at this point, like it should all use that charset, thats the only place we set it.
    will do.
    In topic "background"
    Hey Sam,

    You weren't once called Server Guy were you? your name looks really familiar.
    In topic "adding alt text"
    lol, excellent, sorry for the lack of response from us. I was planning on getting this for you today.
    In topic "Banned users"
    We are currently fixing the banned system, it does not work at this point. Sorry.
    Thanks for your support :)
    In topic "Restricted forums"
    hmm interesting, I could maybe add another option for my user groups to be able to show the forum in the forum listing.
    i got it implemented in CVS
    In topic "Deleted posts"
    thats just how the database works, the next ID is always incrementing, it doesn't care if you deleted a record somewhere, it will still grab the next number.
    Quote:
    "pervert"

    (blink)(blink)(blink)



    lmao(rofl)
    In topic "Can files be uploaded to a different server?"
    Heres some FTP functions for php:

    ca.php.net/manual/en/ref.ftp.php

    For limited uploads to just pictures open up newpost.php you will find an array $file_types, just modify that to whatever you want.

    If you end up making that mod for ftp, please remember to post it in our mod forum.
    In topic "removing logo?"
    Forsure, That logo is just apart of the default skin.
    In topic "Disable Email Verification for Registration?"
    Download upb2beta1.4_for_disabled_stmp.zip


    Try this.
    for future reference, if anyone else wants to do this, make sure you just comment out that line instead of doing what he did, cause if that check does pass its going to give an error message.
    In topic "WAP"
    hmm weird

    codex: had to edit to show the server error.


    ---------

    ForbiddenYou don't have permission to access /newpost.php on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/1.3.37 Server at www.myupb.com Port 80
    Yes please everyone feel free to contribute, this is a "open source" project.
    well with php you don't have much choice, unless you wanna fork over $500/ year for Zend encoder.
    In topic "Logging off ..."
    we have the 2 second delay just to indicate to you that your logging off.
    In topic "MyRegistration"
    what changes did you make exactly?
    In topic "text alignment (forum/category titles)"
    try in the skins directory, I'm to busy to find it right now cause i'm currently changing the whole skinning system.
    In topic "Moving topics"
    You wanna give me a link to your forums, I have never had a problem with this.
    In topic "Am having problem with "Security Code" on my board"
    Do you have GD installed on your server?

    if you don't know how to check open up a blank file and type the following:

    PHP Code:
    <?php phpinfo(); ?>


    save this to info.php and upload it to your server, give us the address of the file and we'll check for you.
    and i forgot to tell him about the diagnostic tool, thanks for reminding me!
    In topic "Uploading Problem?"
    what type of files are you trying to upload?
    Hmm, give me a few days, i'll have something for you.

    PS: please share that skin, looks very cool.
    well technically you can already do that, just upload your picture and use the address it gives you for your avatar
    I forgot to ask, your server has file uploads enabled right?

    if your not sure, make a php file called info.php with the following contents:

    PHP Code:
    <?php phpinfo(); ?>


    and give me the address of that file.

    CODEX: you should add file uploads check to your diagnostic tool
    Ok yup looks like the server is all setup for it, I had been going through my php.ini on my local machine and came across some variables that would screw up file uploads but all of yours seem within reason.

    i'll report back very soon if i find anything else.
    Well, I'm really not sure... I would think this would be more of a browser issue since its what is responsible for sending the file but i tried it myself which rules that out. I'm sorry, at this point I don't know what to tell you.
    In topic "How would you add user labels?"
    Login as an administrator for the board.
    Goto the admin panel and manage members.

    just edit one of the users and edit the status field.
    I actually have implemented a entire user groups system, unfortunatly its in our development version on SVN and we are not ready to release this version.
    In topic "Chatroom not working"
    its just a matter of installing some third party chatroom and changing the link in footer.php
    Well which ever link points to the chatroom just point it to the one you installed.
    In topic "Few General Questions"
    Thanks Zapakitul for those kind words.

    1. Depends, which forum are you coming from? I would be willing to make a converter for something like phpbb since it is so widely used. But other then that, you will have to convince someone else to make one.

    2. We do have a skinning system in place at the moment, however, some would say its not the nicest of systems. Our next release is coming out with a template system which will be very easy to skin.

    3. The admin panel was made to be very easy to use, so yes. I would recommend just doing a install (it only takes 5 minutes) and try the admin panel out.
    SMF i would also be willing in making a convertor, let me know if you really want me to.
    In topic "Forum Hosting"
    Absolutly, please send us a copy when your finished so that we can share it with other people as well.
    All that we require you to keep is the copywrite at the bottom of the forums with a link back to our site.
    the login message should be located in header.php
    Great job, as soon as i get back from camping i will post these up on our site. Thanks alot!
    In topic "path to image folder from stylesheet"
    if your using the url() in a seperate style sheet then its always relative to where the style sheet is. For example:

    here is some directory structure..

    root/index.html
    root/css/somestyle.css
    root/image/image1.jpg

    lets say index.html uses somestyle.css. in order for somestyle.css to get image1.jpg the following would be needed:

    url("../image/image1.jpg")

    hope that helps
    In topic "Registration Password"
    Register email message has <login> and <password> which are replaced by actual values when the email is sent out. So change your message from:

    "Thank you for registering"

    to:

    "Thank you for registering!

    Here are your login details:
    login: <login>
    password: <password>"

    for the lost password checkout this topic: www.myupb.com/viewtopic.php?id=5&t_id=2
    You should be all up to date now, sometimes we forget to add some little things.
    In topic "Couple of questions"
    The problem lies with your host. for some reason they have disabled a nice feature in php which lets you open remote files. In order for your avatars to have no problem we will have to disable the avatar checks or host all the images locally and use the relative path instead of http://www..... So just let us know which route you want and we'll make it happen.
    In topic "Controlling who registers?"
    Sure, open up register.php and do a search for the phrase 'mail(' replace $_POST["..."] with "youremail@yourhost.com" and make sure to include the double quotes with your address.
    In topic "How do you remove/uninstall UPB?"
    Looks like you have the same setup as we have over here. PHP has a different user as your ftp user so you can't do anything with the files that php creates.

    I am at work right now so when i get back i'll whip up something for you to remove that directory manually.
    In topic "Security Image"
    Please read this topic first www.myupb.com/viewtopic.php?id=5&t_id=8 if your still having trouble let me know.
    In topic "How to migrate (copy) Forum?"
    It would be nice if you posted the errors you encountered when just trying to copy the forum over. Most likely you are having an issue with permissions on the new server and just need to clean them up a bit.

    Unfortunately on a lot of servers the FTP user can't change permissions on a file created with Apache permissions and this has been a headache for me. If you are getting access denied errors on the new server we can whip up a script to fix all the permissions and get you going again, in fact i'm pretty sure I have something that does this already since I have had similar issues.

    PS: if you want to try your backup file again you can try changing the permissions to 777 to see if that works. I'm not familiar with the backup scripts so I have no idea if that will help you.
    In topic "Restore Deleted POst"
    No sorry :(
    In topic "Invalid Forum Topic"
    Can we see a sample link your sending to your users?
    Enclose your link with quotation marks:

    "http://forum.myupb.com/viewtopic.php?id=10&t_id=151"
    What URL EXACTLY is showing up in your browser clicking on a link? Unfortunately I don't use an external mail program so I'm unable to test this myself.
    That is a weird one...
    In topic "how to change the way visitors see our forum"
    Thats simple enough to do, I will try and do a mod for you tonight.
    Going to have to wait one more day, didn't have time in the evening.
    Forgive me if this doesn't work but it looks like a VERY simple mod.

    Open up upb_root/includes/class/groups.class.php

    on line 196: (should be empty)
    put:

    PHP Code:
    return true;


    should be right before:
    PHP Code:
    //check for listing access
            if(isset($this->forumListing[$forumId])) return true;
            else return false;


    this will simply bypass the permissions to view the forums on the index.php page, let me know if there are any side effects.
    whoops, I was looking at the wrong code...

    open up index.php and edit line 60: which should read:

    PHP Code:
    if ($_COOKIE["power_env"] >= $cRecs[$i]["view"]) $sorted[] = $cRecs[$i];


    change this to:

    PHP Code:
    $sorted[] = $cRecs[$i];


    let me know if that works.
    all I have done is bypass the viewing permissions on the front page. it won't harm anything else. If the user does not have view permissions when he clicks on a forum it should give him an access denied.

    If you want to actually extend the permission system to add the "Guests (titles only) and above" then this ain't going to do that. Its a quick fix with a simple solution.
    That is my bad, I will give you an update later tonight. Sorry. :(
    Okay lets start over....

    open up index.php and jump over to line 117, it should read:

    PHP Code:
    if ((int)$fRec["view"] <= (int)($_COOKIE["power_env"])) {


    change this line to:

    PHP Code:
    if(true) {


    Then goto your admin panel -> manage forums and make sure all the forums have greater than guest access, that way they will see everything on the front page but when they click to view they will get a permission denied.
    I have not personally tested the topic monitoring, are you sure you didn't observe this behavior before? Also send me your viewtopic.php (email me) so I can run a diff on it, you might have made a funny edit in there. The index.php mod would make no sense to have created this new behavior.
    I took a look and it looks good. I honestly believe these mods didn't create this new behavior your talking about. Are you positive it wasn't doing this before?
    In topic "member, moderator, Admin permissions"
    A moderator can "moderate" posts and things like that, perform cleanup around the forum.. etc.

    By our definition an Administrator can do anything a moderator can do and also access the Admin panel and depending on how permissions are setup on the Manage forums; a moderator can be denied access in specific areas that the Admins are only allowed.

    We have a lot of ideas for a new permission system but it's still a long way away from being done.
    In topic "What does the Star icon mean?"
    I found out today that it is for topic bookmarking.
    In topic "create a new group for users, is it possible?"
    Hi,

    Right now its not really possible, there is a lot of source that would need to be changed. We are working on a complete user group system but it won't be ready for a while.
    Glad to hear you have what you want figured out. Be sure to keep checking up on us for more updates!
    The colors could be located in the code or the skin. I would have to dig a little bit to find everything. I'm sure you'll get it figured out soon.

    The topic below is some work I had done in '07 with user groups, unfortunately the code was never merged with our development trunk. The actual work to make the whole group system isn't to bad, it's implemented it into the forums and making everything work with it that is the real challenge.

    forum.myupb.com/viewtopic.php?id=5&t_id=13
    Yea I wish it was available to you guys as well, but like I said it just never made itself into the main development trunk. We will give it another go in the coming months.
    In topic "Mod news V2.2.6"
    I could update it, the mod is very simple. Check back in a few days.
    Hey Marco,

    I took a look at the mod, it should work without any modifications. Have you tried it?

    www.myupb.com/fileserv/mods_updates_and_fixes/mod_news.zip

    Let me know if you have any trouble and upgrade to 2.2.7!! :P
    Right... sorry I should have caught that. Change "includes/class/func.class.php" to "includes/upb.initialize.php" and see if that works.
    Marco,

    The mod news simply "grabs" posts from a forum, it does no displaying. If you look at the comments at the top of the script you can see what the mod makes available to you.

    If you need help with setting up a PHP loop, I would be happy to help.
    Hey there,

    I have been away over the weekend, just got back home. I will try and whip something up for you tomorrow.
    Hey I just haven't got around to doing it yet.

    In forum "UPB 2 Bug Reports"
    In topic "Whos Online"
    Well I would disagree because I have seen the number fluctuate although I can't really say its functioning perfectly. It does seem a bit high.

    I will do some debugging and see what i come up with.
    Did you experience this problem just on our forums or on a install you did on your server? It seems there was just an error in our whos_online.dat file which was causing problems.

    I guess there still must be a problem to have created an error in the first place, but all the entries are unique so there is actually this many guests on at the time.

    UPDATE: I reviewed the whos online function, there should not be any problem with it. If anyone else is having this problem Please let me know.
    Thanks man
    Ok so I did find an error, just a little error in a if statement that only occured in special cases.

    To fix the problem there is 2 lines that need to be changed in ./includes/whos_online.php

    line 21 needs to be changed from:

    PHP Code:
    $wSearch =  $_COOKIE[&quot;id_env&quot;];


    to:

    PHP Code:
    $wSearch =  $_COOKIE['id_env'].str_repeat(' ', 16 - strlen($_COOKIE['id_env']));



    and then line 36 from:

    PHP Code:
    if(FALSE !== ($you_pos = strpos($whos_online_log, $wSearch.' '))) {


    to:

    PHP Code:
    if(FALSE !== ($you_pos = strpos($whos_online_log, $wSearch))) {



    And finally since there will probably be errors in your whos_online.dat it is nessessary to overwrite that file with a blank file. After that it should all work out.
    In topic "PMs"
    Yea I seem to be getting something like that as well. I will take a look tonight. Thanks
    :)
    In topic "Bug Report .02"
    Apologies for not stating to chmod the forum directory, I will add that in.

    For your other question, I'm not sure why you want to add a plus sign in your address, I don't even think that is a legal email address then. The only thing I can think of is using a query string on the email address to set the subject or message but we have a input box for each of those.

    I could be wrong, and please feal free to prove me wrong, i might have misunderstood your question.
    In topic "showmembers.php"
    Thanks, will do.
    Anyone wanting to fix theres just simply change line 46 from:

    PHP Code:
    <tr><td colspan='7' bgcolor='$header'><B><font size='$font_l' face='$font_face' color='$font_color_header'>Members List</font></b></td></tr>&quot;;


    to:

    PHP Code:
    <tr><td colspan='8' bgcolor='$header'><B><font size='$font_l' face='$font_face' color='$font_color_header'>Members List</font></b></td></tr>&quot;;
    In topic "Login Bug"
    Yea seems to work fine for me.
    In topic "Edit Members not working"
    I will check this out by tomorrow, thanks.
    In topic "Undefined function error"
    are you recieving this all the time or just when you hit submit or something in the profile.php?
    In topic "A couple more bugs"
    Yea I am re-writing the search function as we speak, i will have a fix in due time.
    In topic "word filter"
    I'm really sorry to hear that, We will release a patch soon.
    In topic "MOVED: Password retrieval not working"
    Topic was moved to forum : UPB 2 Development Updates
    redirecting...
    In topic "Close circle bracket"
    PHP Code:
    ;)
    hmm, yea i did notice that on one of your posts. We will have to fix this, actually this is one of the reasons i hate msn messenger because it does the same thing.
    Quote:
    test

    test
    Fixed, the updated file can be found here
    In topic "General"
    Yea i havn't had time to make a new checkupdate, it will be coming after exams are done..
    The reason I have not done it yet is cause i want to make it pretty too, and i have been spending all my time studying for exams but they are almost over :D
    In topic "UPB 2 BETA 1 Patch 003 and prior path disclosure"
    Thank you, we will be sure to fix this. And codex he's right, I honestly don't know how to do anything useful with that path, but according to various security sites that is considered unsafe.
    haha :P
    Yay! Fraser's back! Anyways, thx for the info. Well me and rebles are working on a custom error handler which will just log the errors and not show them to the user, that should take care of these.
    fixed for now... www.myupb.com/viewtopic.php?id=5&t_id=6
    In topic "UPB Links"
    whooops
    In topic "Avatar and update profile."
    Thanks, there is definitly a problem with our avatars, I think Rebles is going to fix this asap
    In topic "security"
    Yea make sure php is installed with GD.

    to check for this create a blank file named info.php and put in the following contents:

    PHP Code:
    <? phpinfo(); ?>


    run this your server and try and find a section called GD, if you can not find it, its most likly not installed. If this is the case I can modify your register.php to bypass the security code.
    If you want to bypass the security code I made a modified register.php, it can be found at this topic
    In topic "MOVED: Search Error"
    Topic was moved to forum : UPB 2 Development Updates
    redirecting...
    In topic "headers already sent?"
    This is a problem in your skin, open up coding.php for your skin and remove any whitespace before the '<?php' and after the '?>'
    In topic "maximum 200 characters in signiture ????"
    There might be alot of whitespace in your signiture, try and remove any white space before and after any text u have in your sig. I will make the script do this in the next patch however.

    Also, since you did an upgrade from 1.x, it could be that you have a signiture larger than 200 characters and thats why its doing this now. If you want to just increase the number of allowed characters in the sig then do the following:

    -open up profile.php
    -goto line 19, it should read: if(strlen($_POST["u_sig"]) > 200) exitPage("You cann....
    -just change the 200 to a larger number

    In either case, i'm making a note of this and we'll have something better for the next patch
    In topic "Hidden forums"
    ok noted..
    In topic "Security Code Problem???"
    The code is case sensitive, but if you would like to bypass the security code visit this topic: www.myupb.com/viewtopic.php?id=5&t_id=8
    we'll see what we can do
    What kind of errors are you getting now? I personally have tested the patched register.php and had no problems.
    can u link your forum, i would like to take a look.
    hmm.. I honestly don't know why thats doing that. Heres a fix anyways...

    open up register.php

    search for 'if($_POST['s_key'] !== $_SESSION["u_keycheck"]) {' it should be around line 19

    change this to:

    if(FALSE) {

    this fix will just bypass the security code check completly, if you want me to investigate this further do this:

    create a file called info.php with the following contents:

    PHP Code:
    <?php phpinfo(); ?>


    save this and upload it to your server. Then PM me with the address.
    Hey,

    I just registered MyUPB on your forum, recieved the email instantly. Logged in.

    Maybe you typed your email incorrectly???
    try this: www.myupb.com/viewtopic.php?id=5&t_id=8

    Maybe start a new topic next time you have a question.
    In topic "MOVED: Wrong topic amount"
    Topic was moved to forum : UPB 2 Development Updates
    redirecting...
    In topic "Security Code Problem / no image / Red Cross"
    www.myupb.com/viewtopic.php?id=&t_id=8
    In topic "Registering problem"
    open up register.php and goto line 55, it should read:

    PHP Code:
    if(!checkdnsrr($email[1], &quot;MX&quot;)) exitPage(&quot;Please enter a valid email! No mail server seems to exist at <b>www.&quot;.$email[1].&quot;</b>&quot;, true);


    just replace that with:

    PHP Code:
    //if(!checkdnsrr($email[1], "MX")) exitPage("Please enter a valid email! No mail server seems to exist at <b>www.".$email[1]."</b>", true);


    this is just some extra email address checking, not nessessary for the board to function.
    In topic "Member list last login not correct"
    this is a known bug, but thanks for reporting it. I'll try to get that looked after for the next patch.
    In topic "New Posts - gone mad"
    uhh... believe me I share your frustration, I am working on solving this bug. Thanks for the report.
    yea i'll talk to you on MSN
    www.myupb.com/viewtopic.php?id=5&t_id=15 check out my last reply. That should do the trick.
    In topic "PM issue 1 of 3"
    ok i'll look into that.
    In topic "MOVED: Member statuses and backslashes on quotes"
    Topic was moved to forum : UPB 2 Development Updates
    redirecting...
    In topic "Registration Errors"
    Rebles, that wasn't included with 1.4, i'd attach it but I gotta go right now.
    I can't seem to find that post, I thought I or someone else did make a mod for this. Uh, since you made some changes to your register.php, just email me yours or something and I will mod it up for you (pilot@myupb.com)

    Rebles: i'll talk to you about that on msn
    aight, should be in your inbox now.
    just mail me your register.php and i'll mod it for you.
    In topic "includes_once()"
    Thanks for the report :P I'll fix that up on CVS.
    cause me and rebles type at 250 WPM and we make mistakes :P
    In topic "Catholic ninjas?"
    are you sure someone didn't banned from your own forums?
    Well, my apologies then, its not suppose to go down like that. I will see if I can replicate your situation somehow and then do some debugging.
    rebles, arn't you a little off topic here???
    I am in the process of coming up with a patch for this, I apologize for the inconvienice.
    Sounds good
    In topic "Problem whit banned"
    ok my apologies, must have been something when we updated to 2.0, I'll get that fixed up in the next few days. Thanks for the report.
    In topic "Smiley bug: scand. char and close bracket"
    I think I know what the problem is, I'll get a fix ASAP.
    this should do the trick. its found at includes/inc/
    Attachment removed...

    look at my next post for the revised file
    Attachment: post.inc2.zip

    ok sorry bout that, made a little mistake in my regular expression.
    In topic "Minor more smilies bug"
    Thanks, someone else reported it to, we have it fixed in CVS.
    In topic "Cannot read my pm inbox"
    ok Rebles need to fix this, but heres a temporary fix you can use until then.

    open up viewpm.php and find the line that contains calculate_dimensions

    replace that entire line with:

    PHP Code:
    $new_avatar['avatar_width'] = 70;
    $new_avatar['avatar_height'] = 70;


    then find the line that contains md5_file and replace that line with:

    PHP Code:
    $new_avatar['avatar_hash'] = md5_file2($user[0]['avatar']);
    its an error that only pops up with certain conditions set. you might get it some other time.
    In topic "profile.php? !!Error!!"
    Did you mod your profile.php?
    Ok I will get you a fix for this, some code must have been mixed up. Thanks for reporting it.
    Yea i have not been able to look at this yet. Super busy with school this week. I got it on my list though.
    In topic "Empty message - "Submit" don't work after "back""
    thats probably a problem with our html, we are in the process of a html redesign with more cross-browser compadibility.
    In topic ""Last post" in latest topic"
    i'm gonna have to agree there. We may as well run that extra query.
    In topic "reseting password problem"
    it should be yoursite.com/forum/getpass.php?request_ID=7&passcode=314664802

    I'll take a look at that.
    USED TO rely on register globals, right now we added some code to unset any variables register globals makes, and again why these bugs have been poping up.
    www.myupb.com/viewtopic.php?id=5&t_id=2
    In topic "checkdnsrr Fix"
    Thanks alot!
    politeboy if your trying to upload .php files it won't work, that would be a big security risk for us. if you want to upload code zip it up.
    In topic "Bug or Installation Error :-"
    check out this topic www.myupb.com/viewtopic.php?id=5&t_id=10
    In topic "Registration not working"
    Hey Dean,

    you can send it to me to, i will take a look.
    I took a look at your register.php and I don't think thats the problem.

    Did you modify includes/inc/func.inc.php at all? send me that anyways, I need to take a look at yours.
    In topic "Cant delete database folder"
    Your server permissions are probably setup the same way we have them here.

    It is kinda annoying, but when php creates a folder I have to make a PHP script to delete it, you could also change the owner to your ftp login as well.

    If you don't know how, I can whip something up for you.
    This should work, let me know if you get an error. Just copy and past this code into a text editor and save it to rmdir.php, edit the directory and run it on your webserver. Please be careful with this one, make sure you got your path right.

    PHP Code:
    <?php
    $theDirectory = &quot;ENTER YOUR DIRECTORY PATH HERE&quot;;
    rDelete($theDirectory);
     
     
    /**
    * Recursive rmdir
    *
    * @param String $dir
    */

    function rDelete($dir) {
        $h = opendir($dir);
     
        while(FALSE !== ($file = readdir($h))) {
            if($file != &quot;.&quot; && $file != &quot;..&quot;) {
                if(is_dir($dir.&quot;/&quot;.$file)) rDelete($dir.&quot;/&quot;.$file);
                else unlink($dir.&quot;/&quot;.$file);
            }
        }
     
        rmdir($dir);
     
        closedir($h);
    }
    ?>


    EDIT: spotted a little error
    In topic "UPB + PHP5, does it work?"
    If you comment out those lines just make sure register globals are turned off in the php.ini, I believe they might have changed/removed one of the super globals in php5. I have had upb running on PHP5 so it does work.
    Thanks for the info Clark
    In topic "Cookie authentication gone wrong"
    I use tabs too. We do use a session cookie however (no timeout), so you MUST open up new tabs from a tab that you have logged in from.
    In topic "Installation and short tags (+solution)"
    Yea, we apologize for this, was due to a lack of standards within our team (mostly my fault). Our next release uses the <?php open tag
    who says there isn't one already;)
    In topic "login-page rendering"
    I can fix that if its bothering you, its already been looked at in next revision.
    In topic "Search error"
    I have updated the development topic regarding the search page. Download the search.php on my last reply.

    www.myupb.com/viewtopic.php?id=5&t_id=10&page=1
    In topic "Upb on localhost."
    I have the exact same setup on my home machine, try and do a fresh install and let me know if it happens again.
    Can you tell me which error you got, I want to make sure I fix that in our development copy, I think i had to do the same thing.
    In topic "A little problem with the database i think"
    I just want to verify, your using UPB2 B1.4 correct? As Jono said this is a VERY SMALL error, will take 2 min to fix. I just want to make sure i'm fixing the correct version.
    ok, open up includes/inc/func.inc.php

    highlight lines 11 - 31 and replace it with this code:

    PHP Code:
    if(isset($GLOBALS[&quot;_GET&quot;])) {
        foreach($GLOBALS[&quot;_GET&quot;] as $varname => $varvalue) {
            if(isset($$varname)) unset($$varname);
        }
    }
    if(isset($GLOBALS[&quot;_POST&quot;])) {
        foreach($GLOBALS[&quot;_POST&quot;] as $varname => $varvalue) {
            if(isset($$varname)) unset($$varname);
        }
    }
    if(isset($GLOBALS[&quot;_COOKIE&quot;])) {
        foreach($GLOBALS[&quot;_COOKIE&quot;] as $varname => $varvalue) {
            if(isset($$varname)) unset($$varname);
        }
    }
    if(isset($GLOBALS[&quot;_SERVER&quot;])) {
        foreach($GLOBALS[&quot;_SERVER&quot;] as $varname => $varvalue) {
            if(isset($$varname)) unset($$varname);
        }
    }
    if(isset($GLOBALS[&quot;_ENV&quot;])) {
        foreach($GLOBALS[&quot;_ENV&quot;] as $varname => $varvalue) {
            if(isset($$varname)) unset($$varname);
        }
    }
    if(isset($GLOBALS[&quot;_FILES&quot;])) {
        foreach($GLOBALS[&quot;_FILES&quot;] as $varname => $varvalue) {
            if(isset($$varname)) unset($$varname);
        }
    }
    if(isset($GLOBALS[&quot;_REQUEST&quot;])) {
        foreach($GLOBALS[&quot;_REQUEST&quot;] as $varname => $varvalue) {
            if(isset($$varname)) unset($$varname);
        }
    }
    In topic "IMAGE PROBLEM!"
    I just am asking the obvious here (sometimes people forget). Do you have GD2 installed in php? and can you confirm it (with phpinfo)?
    Ok your GD is fine. check out this topic www.myupb.com/viewtopic.php?id=5&t_id=8 A user posted some code in there that might fix your problem. (3rd post)
    The easiest thing to do would be to dump the password on screen, disable the redirect and mailout. Then the user can change there password manually.
    send me your register.php to rr_pilot at hotmail dot com
    In topic "getimagesize(); error"
    Its nothing to worry about, you can place a @ immediately before getimagesize( on line 51 and you should be good to go.
    In topic "advanced edit"
    Transfers the text over for me. Google Chrome.
    In topic "Fatal error in admin_members.php"
    What version of the forum are you running?
    In topic "e-mail registration problem"
    I have added your issue to our bug tracker, we will address it in the next release.
    You can track progress on this ticket here:
    https://sourceforge.net/tracker/?func=detail&aid=3122953&group_id=32653&atid=406051
    I wasn't able to reproduce this either.
    In topic "Character coding UTF-8"
    We don't support UTF-8 at this point in time, hopefully in an upcoming release.
    In topic "Database Error in Bookmarks profile.php"
    This issue has been added to our bug tracker and will be addressed in the next release.
    You can track progress on this bug here:
    https://sourceforge.net/tracker/?func=detail&aid=3122957&group_id=32653&atid=406051
    In topic "Problem Load Forum"
    It's hard to say what is going on without some knowledge of your hosting provider. Although I have seen on these forums some delayed responses here and there I don't think I'm experiencing it as bad as you are. Please give some more information and we will help you as best we can.
    In topic "Have these been patched?"
    I am not sure off the top of my head but I have added them to our bug tracker and will verify in our next release.
    You can track progress on this issue here:
    https://sourceforge.net/tracker/?func=detail&aid=3122959&group_id=32653&atid=406051
    I updated the tracker but I just wanted to let everyone know here too. These issues have been fixed in the trunk and will be included in the upcoming v2.2.7 release.
    :) Yes thanks for the function. Made the additional changes and first commit to the Git repository! Definitely something to get used to...
    In topic "new admin account created bypassing registration"
    I have seen this same issue on our board. Adding issue to our bug tracker, we will address this in our next release.
    You can track progress on the issue here:
    https://sourceforge.net/tracker/?func=detail&aid=3122962&group_id=32653&atid=406051
    In topic "strip slashes"
    Thank you for point this out, adding to our bug tracker.
    You can track progress on this issue here:
    https://sourceforge.net/tracker/?func=detail&aid=3122964&group_id=32653&atid=406051
    In topic "Problems with Search"
    If you have shell access to your server run the following command in your forum data directory and reply with the output:

    ls -l
    In topic "Manual Member Approve/Reject not working"
    Adding to our bug tracker, we will address this in the next release.
    Your welcome Pete.
    You can track progress on this issue here:
    https://sourceforge.net/tracker/?func=detail&aid=3122969&group_id=32653&atid=406051
    Quote: pete917 at Jun 29, 2010 9:08:34 am
    Furthermore, when you register a new account while in this mode, the normal confirmation email is sent with the confirmation link included.  When you click on the link, you are taken to the registration page..



    Hey Pete, I believe this is the desired behavior. You need to edit your Register Email Message found under Admin Panel -> Manage Settings -> New Members. What would you like to have instead?

    The other email issues I am still looking into though.
    I am unable to reproduce this bug, maybe it has been fixed since 2.2.6??? We will be releasing 2.2.7 within the next week so you can give it another try then. For now I'm closing this off.
    Lets chat about this a little in the staff forums.
    In topic "Attachments not working"
    Nice snag, adding to the list...
    You can track progress on this issue here:
    https://sourceforge.net/tracker/?func=detail&aid=3122970&group_id=32653&atid=406051
    What version are you using pete? I am digging around right now and it doesn't look like v2.2.6 even uses the upload class anymore. But I do see another issue.. I can't find anywhere to choose which file types are allowed and the upload code is using a config var to determine which file types are valid so everything gets rejected.
    I have fixed whatever issue was in the trunk. Although I think you may be having a different issue.

    Open up a text editor and type:

    <?php
    require_once("includes/upb.initialize.php");

    echo "<pre>";
    var_dump($_CONFIG);
    echo "</pre>";
    ?>

    save it to config_dump.php and upload it to your root forum dir, PM me the results and delete the file off your server.
    Thanks Pete,

    It looks like everything is in order for you. I would normally say just upgrade to the latest version, but I know uploads don't work in 2.2.6. I have fixed the issue for the upcoming release though, you may just have to wait till then.
    Your config dump suggests that you are running 2.2.1, maybe there was a mix-up doing an upgrade? If you believe you are running 2.2.6 then I can just give you some code fixes and an update script.
    I will need to write a little script to update your database, I'll post the fix on here when its done.
    Try this out. EDIT: I don't have a place to upload it to right at this moment, I will email it to you for now.

    Extract in your root forum directory and run update2_2_7.php, don't mind the naming of the file, your not actually updating to 2.2.7.

    The valid file types config variable should now show up in "Admin Config" and hopefully you can upload files properly. Let me know.
    Got you all sorted out via email.
    In topic "create new topic not working"
    The fix I provided you is kind of unofficial. I will get you all sorted out when I get home today.
    Sent you an email with some more fixes.
    In topic "2.2.7 Bug"
    I may have inadvertently damaged that when fixing post uploads, thank you for the bug report.
    Created bug report:
    3146740

    In forum "UPB 1 Help"
    In topic "UPB 1"
    Just to let everyone know, UPB 1 is still is available on the fileserver (fileserv.myupb.com) for anyone that doesn't want to use a beta, there might be one vulnerbility with that version still. I will look at that ASAP and post a follow up on this thread.
    In topic "whosonline???"
    I know this is in the upb 1 help, but i just want to make sure, you are using version 1 of upb not version 2 right?

    As far as I know there was no problems with whos online in upb 1. If you want you can upload a blank whos_online.dat in the data folder to overwrite the old one and clear everything that was in there.
    In topic "Please help against spam-members"
    upgrade to upb 2.0, we feature a new security code that must be entered upon registration, that should take care of any auto-registering scripts.
    i believe someone has done a german translation for upb 2, you will want to contact this member: KarasuSama

    REBLES -> I think its been there since 1.5, not completly sure.
    In topic "MOVED: Am having problem with "Security Code" on my board"
    Topic was moved to forum : UPB 2 Questions
    redirecting...
    In topic "MOVED: New User"
    Topic was moved to forum : UPB 2 Installation Questions
    redirecting...
    In topic "Another fread problem"
    upload pmblocklist.php and i'll see what i can do.
    yea gigaman is right except you will get a error with that code.

    Change line 115 to:
            $old = (filesize($file_block) > 0) ? fread($f, filesize($file_block)) : '';

    (you just had the >0 in the filesize paranthesis.)
    In topic "MOVED: Forum Hosting"
    Topic was moved to forum : UPB 2 Questions
    redirecting...
    In topic "Attachement"
    Oh I forgot, it doesn't work here because we just had a problem with our webhost the past few days, it will be back up here in a day or two. It does work here though.
    Well it sure doesn't feel good looking at this old code, looks like the problem is that its assuming register_globals is on. Try this...

    right after the FIRST //FILE UPLOAD BEGIN add

    PHP Code:
    $file_name = $_FILES[&quot;file&quot;][&quot;name&quot;];
    $file_type = $_FILES[&quot;file&quot;][&quot;type&quot;];
    $file = $_FILES[&quot;file&quot;][&quot;tmp_name&quot;];


    That should do the trick. Oh and remove the code after the second //FILE UPLOAD BEGIN up until the //END
    ahh your probably right. put that code under both //FILE UPLOAD BEGIN then
    In topic "password recovery upb 1.0b"
    I can help you, add me on MSN and i'll work you through it.

    In forum "UPB 2 Skins"
    In topic "Skin Posting"
    This forum is dedicated to skins, and skin discussion. In order to share your skin you will need to upload a compressed file on YOUR server and then post a link in a new topic.

    You are welcome to post pictures (in fact I encourage it) of the skin to show everyone what it looks like.

    I have seen alot of nice skins while browsing through my referals so hopfully alot of you will post what you got!
    In topic "Codex's Project"
    we have very immediate plans to redo all the html in our forums.
    we segmented a topic due to all the offtopic talk and u were the starter of the original topic
    In topic "A skin from me."
    very cool, thanks for the submission.

    PS: the reason i edited your post is i wanted the pictures to display right on the board, but it was a little to much on the page so i changed it back.
    In topic "HP Skin"
    dang, thats very nice, love the colors. Thanks for the submission.
    In topic "Light blue skin"
    I think i've said this before, but I'm really impressed with the skins you guys are making!
    In topic "Minimalist skin"
    I really like this skin by the way, very clean looking.
    Unfortunatly the skinner never released all the files to his skin, you could try contacting him directly.
    or you could click the email button top right side of one of his posts...
    In topic "MyBB style skin"
    i like this skin too, sometimes its nice to have simple skins like that. and by simple i mean not flooded with images.

    good work :P
    In topic "<xml ?? version"
    well xhtml is considered xml, our templates that are being built by Jono have the <xml tag.
    In topic "DefaultX SKin"
    looks nice
    we are aiming for 4th quarter of this year.
    In topic "Mystic v1.0"
    Love the color palette. Always been a fan of dark colors. I kind of find the background image a little too bold though, it seems to keep capturing my eyes away from the forums.

    In forum "UPB 2 User Mods"
    In topic "Syntax Highlighter"
    This is a Syntax-Highlighter mod for MyUPBv2.0. It is powered by the Geshi Syntax highlighting library/class, which has been rebundled for ease of installation. It is important that you read the Manual before attempting to install.

    Written by: Jono345

    Wiki page: Syntax Highlighter
    In topic "Mod News"
    This mod allows a user to use a forum as a news management system. The mod outputs the nessessary data to make a news page on your main site.

    Author: Pilot

    Wiki page: Mod News

    This mod could definitly be extended, its only here to provide users with a simple mod to look at and learn the upb architecture.
    mod_news.php must be placed in your forum directory, and also the file that you are including mod_news.php with must also be in the forum directory. If I get around to it I will make the paths a little nicer so you can include this thing from anywhere in your site.

    Like Jono said tho, it needs to be included using a relative path './mod_news.php' and those errors are just being generated because it cannot find the file and its looking in the pear directory which is one of the directories in php include path.
    ok all mod_news.php does is dump the variables needed to create a news page. It is definitly not full featured and was only made to kind of kick start modders, BUT this script does offer some nice abilities. so, a very basic implementation of this could be:

    news.php:

    PHP Code:
    <html>
    <head>
    <title>test</title>
    </head>
     
    <body>
    <h1>Test</h1>
     
    <?php
    include_once('mod_news.php');
    // lets display the newest 10 news topics
     
    $MAX = 10;
    if(count($news) < 10) $MAX = count($news);
     
    for($i=0;$i<$MAX;$i++) {
        echo &quot;<p><b>&quot;.$news[$i][&quot;subject&quot;].&quot;</b> (written by: &quot;.$news[$i][&quot;author&quot;].&quot; at &quot;.gmdate(&quot;M d, Y g:i:s a&quot;, user_date($news[$i][&quot;time&quot;])).&quot;)
            <img src='icon/".$news[$i]["icon"]."'> &quot;.$news[$i][&quot;news&quot;].&quot;
            <a href='".$news[$i]["urlComments"]."'>Comments</a> (&quot;.$news[$i][&quot;numComments&quot;].&quot;)</p>&quot;;
    }
    ?>
    </body>
     
    </html>



    This is a very basic example, I tried to use every variable available, of course you can do what ever you want, those are the variables that are set. A list of them can be found inside mod_news.php
    anytime
    it should be extremly fast to be honest with you. must be another factor.
    try and catch me on msn, also i'll run some tests on my machine to make sure its not my code.
    its suppose to be, i'll have to move it to the new sourceforge download page, sorry.
    ok here you go

    downloads.sourceforge.net/textmb/mod_news.zip?modtime=1190565898&big_mirror=0
    Hmm yea, that is a bit of a problem. not very easily solved either... mod news is just pulling the topics out in the same order as viewforum.php does, because they are sorted like that. I could suggest pulling all the topics from that forum and resorting them manually, would work for smaller forums.
    In topic "Mod list"
    A list of finished mods can be found on our Wiki page

    Note: Please only post FINISHED mods on the wiki page, and also if we feel the a mod that was posted could be harmful to the user we will remove it. Finally, we take no responsibility for problems occured when installing mods, please always remember to backup your forum.
    In topic "german upb"
    Well I think its a pretty sweet idea as well, I would even be willing to host that on our site on a subdomain...maybe
    Since i felt really bad that you had to translate it like this I have begun putting all the text in language files, you can view the progress at textmb.cvs.sourceforge.net/textmb/upb2/?hideattic=1 and then browse to the lang directory. You can start adding in your translations in there if you want, I will be updating the files with new variables as time goes on.
    We have had it all along but never used it, but it has come a time where it is just required to move on...
    In topic "New - Preloader"
    you got something setup where we can see this puppy in action?
    In topic "Flag Mod"
    Hey man, thats really cool. I checked out your code, good job!
    Quote:
    I'm on to a new mod;). Its a downloads system to end using apache for downaloads.



    I look forward to it!

    Powered by myUPB v2.2.6  ·   © PHP Outburst 2002 - 2013

    Creative Commons License