02/24/15 04:48 PM On-Board Modifications by Gizmo

Since UBB.Dev is now officially producing coding for UBB.threads we thought it'd be a good idea to post what modifications to the coding we're running on this site. Since this is ultimately a sandbox of the newest features, we really didn't want any confusion as to why something here works slightly different than what's delivered, and how you can incorporate those modifications for your sites as well.

Current Modifications (v7.5.9):


652 Views · 7 Comments
02/21/15 01:02 PM UBB.threads 7.6.0 - Progress Report (02-21-2015) by id242

7.6.0 Progress Report: "Control Panel Can Haz Attention, Too."

Its been a bit over a week since the last progress report. A lot has gone in to this bit of progress, most notably though, is all the attention which the admin Control Panel has been given. There were also some bug fixes and a few minor additions. Lets dig right in and see what those changes were.


The changelog:
Admin
[*] The Control Panel has received it's first face-lift since several years! Rather than using dark washed out colors, the control panel has been cleaned up and now uses a modern blue/indigo/white color scheme.
[*] ADMINMENU -The left column has been sorted appropriately to allow admins to locate desired settings with much more ease. Each section is now sorted with feature hierarchy in mind.
[*] MULTIPLE SCRIPTS/TEMPLATES -A lot of display formatting is no longer inlined, and has been moved in to admin.css.
[*] DASHBOARD -The "Home" page has been renamed to "Dashboard."
[*] DASHBOARD -Dashboard received a bit of house cleaning. "Users Awaiting Approval", "Display Name Change Requests", and "Posts Awaiting Approval" are now always displayed and their counts are listed next to each item in their own column.
[*] DASHBOARD -"Latest Announcements for UBB.threads™" was renamed to "UBB.threads News & Announcements" and now pulls its data from the UBBCentral.com RSS feed. (Hat tip to Gizmo/James for this chunk of code!) The display is now also spaced correctly - no more 50% column width for a very short time/date column.
[*] MULTIPLE -"Options" has been renamed to "Settings"
[*] MULTIPLE -"Board" has been renamed to "Forum"
[*] MULTIPLE -Setting titles have been standardized. Trailing colons, question marks, periods for each setting title have been removed and their names are now in Title-Case.
[*] MULTIPLE -Items within columns that used to split and wrap at strange places, now wrap after each individual item is complete. For example, Display Settings > Styles > Manage/Export column items.
[*] MASTER SETTINGS, DISPLAY SETTINGS -If appropriate, descriptions of what each setting does, now has an example of what should be entered. No more guessing if "Path" means "Server Path" or "URL Path." Other notable descriptive examples include what's expected to be entered in the "General > HTML Includes" boxes. They are also now presented in the correct order -- as a live HTML file would present them.
[*] LANGUAGE EDITOR -htaccess is no longer displayed as a language option if it is found within the languages directory.
[*] LANGUAGE EDITOR, TEMPLATE EDITOR -The editor is no longer a set width. It is now a percentage size of your browser's width -- It's larger, so you can actually see what you're doing.
[*] IMAGES/ICONS -This whole group has received a lot of attention. Each page looks presentable and not as if it was slapped-together just to get it done.
[*] FOOTER -Received a bit more attention. Pipes are gone and items are now separated by middots. The admin footer will probably see a bit more adjusting before a public release.
[*] HEADER -Page title was "COMMUNITY_TITLE -> Control Panel -> $pagetitle" has been updated to display as "$pagetitle - COMMUNITY_TITLE Control Panel"
[*] FORUMPERMS -The Expandy now displays with the correct style when you hover over it.
[*] MEMBERMANAGE -The Registration Queue page now matches all other admin pages. No more small font. The StopForumSpam items have also been given a cleaner display, to match the CP's new style.
[*] MULTIPLE -All submit buttons are now styled within the admin.css

General
[*] STOP FORUM SPAM -It is now checked at every login. Previously it was only checked during account creation.
[*] CACHE_BUILDERS, ALL SCRIPTS -Stock cache builders and all items within the scripts directory received a new header. And the security check has been updated to reflect that of the rest of UBB.threads.
[*] RSS FEEDS -In 7.5.9, I introduced a show-stopping bug when updating the headers of the MYFEEDS.tmpl and RSS_XML.tmpl files. Sorry about that. It's been corrected in this release. Also, a long standing bug (introduced in 7.5.3 as a feature) relating to feed encoding has been squashed. [INSERT LINK HERE] <-- I need to edit this to add a link to this 7.5.9 fix.
[*] SHARAHOLIC -Sharaholic has been added to more locations; Active Topics, Categories/Forums List, Portal, Post Listing.
[*] POSTLIST -A whole row section was redundant -- duplicated in the column headers. It's been removed. More work on removing its related items is planned.
[*] ACTIVETOPICS -This page saw a bit more attention. Small tweaks to it's display.
[*] CHANGEMOOD -As a simple fix for forums that use a lot of mood icons, A scroll bar is now added to the window.

At this point, it should go without saying that additional code optimizations and comment/code cleanup throughout all files. And more inlined elements from legacy releases have been moved to CSS.


Preview screenshots of that control panel update mentioned above:

Control Panel -
Linked Image

Settings explanations and Entry Box examples -
Linked Image


UPDATE: When released, this will be "UBB.threads 7.6.0"
From this point forward, all previous topics relating to a 7.5.10 version should be understood that "7.5.10" was the version used before the decision to move to 7.6.0 was made. And that "7.5.10" was a non-public, work-in-progress, internal version of UBB.threads 7.6.0.


--
NOTICE: At the time of this post, UBB.threads 7.6.0 is very much still work in progress. This current code will change several more times before being published to the Members area of http://ubbcentral.com. This *WORK IN PROGRESS* code is not available for download or purchase. This series of progress reports is being made public to share the development progress on UBB.threads. Items may be pulled from the final release or may be reworked to have a different presentation than what is depicted in this post. This is very much WORK IN PROGRESS and not by any means "final."

384 Views · 1 Comments
02/10/15 11:31 AM UBB.threads 7.5.10 - Progress Report (02-10-2015) by id242

7.5.10 Progress Report: "The Six Million Dollar Man" Edition.

This bit of progress mostly focused on adding a few new features, tweaking the current ones, and general cleaning up before moving forward again.

The most notable items are the "Signature Display" options and the Suhosin details page. James (Gizmo) has put a lot of time and work in to implementing this Suhosin checks and details feature.


The changelog:
/admin
[*] LOGIN -Suhosin warning has been updated to just a link which now forwards to its own Suhosin page.
[*] SHOWUSER -Updated to allow editing of the user's "signature display options"
[*] SUHOSIN -A new file which outputs your server's suhosin setting details.

/languages/english
[*] ADMIN/SUHOSIN -New language file to support the suhosin page.
[*] EDITDISPLAY -Updated language file to support the updated "signature display options"
[*] MYCOOKIES -Update COOKIE_INFO from "Board" to "Forum"
[*] SEARCH -New language item. "Submit" button is now "Search Forums" button.
[*] VIEWMESSAGE -Update DELETE_MESS from "Topic" to "Conversation"
[*] VIEWMESSAGE -Removed USER_LOC

/libs
[*] HTML.INC -Reordered the bottom (miscellaneous) menu items within the left column of the "My Stuff" page. Added "Who's Online". Separated the RSS "Feeds" subscription item from the group.

/scripts
[*] ACTIVETOPICS -Preview has been increased form 250chars to 280chars (2x the size of a "Tweet")
[*] EDITDISPLAY,SHOWFLAT,VIEWMESSAGE -Update to support the updated "signature display options"

/styles
common.css
[*] Added a line to hopefully circumvent Mobile Chrome's comically absurd Text Autosizing (Font Boosting) https://bugs.webkit.org/show_bug.cgi?id=84186

/templates
[*] ADMIN/*PERMS -Corrected several style references from "autorow-header-2" to "autorow-header-3"
[*] ADMIN/LOGIN -Suhosin warning updates.
[*] ADMIN/SHOWUSER -Updated to allow editing of the user's "signature display options"
[*] ADMIN/SUHOSIN -A new file which outputs your server's suhosin setting details.
[*] ACTIVETOPICS -Columns reduced from "4" to "3". Topic "Views" and "Replies" is now displayed.
[*] EDITDISPLAY -New View-Signature options include showing; "Never Show", "Threads Only", "Private Messages Only", or "Always Show"
[*] HEADER, and SEVERAL OTHER TEMPLATES -If the user is browsing with Internet Explorer 8 or less, /ubb_js/html5shiv.js will be called to help support HTML5.
/TEMPLATES/DEFAULT/HEADER -Menu items with a spaces in them ("Forum Help") are no longer wrapped at the space. Each menu label is as now treated as a single item.
[*] POST_SIDE -User avatars are now a link to their profile when clicked on.
[*] PRINTTHREAD -Updated to be much more printer-friendly.
[*] QUICKREPLY -Some minor spacing adjustments.
[*] SEARCH -Moved the help-texts in to hover-over tool tips. Forum List was again increased, from 16 to 20, to expand the entire height of the search tool. Additional layout tweaking.

/ubb_js
[*] HTML5SHIV.JS -HTML5 Shiv enables use of HTML5 sectioning elements in legacy Internet Explorer and provides basic HTML5 styling for Internet Explorer 6-8, Safari 4.x (and iPhone 3.x), and Firefox 3.x. http://en.wikipedia.org/wiki/HTML5_Shiv


Additional code optimizations and comment/code cleanup throughout all files.
More inlined elements from legacy releases have been moved to CSS.


--
NOTICE: At the time of this post, UBB.threads 7.5.10 is very much still work in progress. This current code will change several more times before being published to the Members area of http://ubbcentral.com. This *WORK IN PROGRESS* code is not available for download or purchase. This series of progress reports is being made public to share the development progress on UBB.threads. Items may be pulled from the final release or may be reworked to have a different presentation than what is depicted in this post. This is very much WORK IN PROGRESS and not by any means "final."

564 Views · 2 Comments
02/05/15 08:45 AM UBB.threads 7.5.10 - Progress Report (02-05-2015) by id242

7.5.10 Progress Report: Lets Go For Ice Cream!

The changelog:
A bit of language stuff was updated and some new lines were added:
/languages/english/
[*] A few more items were removed (and noted as such) from some language files, as they are duplicates and already in GENERIC.
[*] NEWPOST had a new item added for a more descriptive button, "Post New Topic" rather than just a generic "Submit"
[*] NEWREPLY had a new item added for a more descriptive button, "Post Reply" rather than just a generic "Submit"
[*] NEWUSER saw some new things added and a lot of updated current strings. These updates are related to the new "New User Registration" page.
[*] SHOWFLAT had "Loc: " removed. A user's location next to their post is self explanatory and doesnt need a label. Saved some space. Less line wraps.
[*] SHOWFLAT The idea of updating "Registered:" to "Joined:" throughout the software is being bounced back and forth. If you have any cares either way on this, please post them, so we will know.
[*] SHOWMEMBERS Added a "Title" field for the updated "User List" page coming with this release.

ACTIVETOPICS -Received a slight face lift. In addition, it also now displays the amount of Views and Replies each topic has.
ADDPOST_NEWPOLL -The buttons are now centered correctly.
CFRM -Some code optimizations.
GALLERY/POST_GALLERY -The photo gallery received its first round of attention. The information section has been condensed. The actual post has been moved below information section. The list of photos now appears on a horizontal scroll. This layout is still being worked on and may change several more times before released.
http://id242.com/forums/ubbthreads.php/galleries/13/this-post-is-a-gallery-of-images.html
HEADER -A new "RESET.css" has been added. This file will be adjusted several times befor being released and will soon replace "COMMON.css"
HEADER -Several JS lines are now synchronized to use quotes instead of apostrophes.
MYBUDDIES -The next round of changes for the "My Stuff" pages. Buddies list finally does what you expect it to do. Clicking on the user name takes you to their profile. To send them a PM, click on the "[Compose]" item in the "Send PM" column.
MYCOOKIES -A few items were corrected. The notice is now placed above the "Expire Cookies" button, to make it more visible.
MYFEEDS -<generator> was finally removed. This was supposed to be gone in the 7.5.9 release. I'm not sure how it made its way back. But its gone now. Again.
NEWPOST/NEWREPLY -MarkupSelect will be hidden if the user only has one option available to them. That single option will be the one that is used.
NEWPOST/NEWREPLY -"Post Preview" now displays your post as it would when you are about to post it. It's displayed in POST_SIDE format; Your name on the left. Column separator. A preview of your post on the right of it. If you're creating a reply, the post you're responding to will be laid out similarly.
NEWUSER_SIGNUP -The new user registration page underwent a major makeover for preparation of the now responsive forum layout. Mobile users should have an easier time joining your forum with this new page.
SHOWMEMBERS -Part of becoming social is finding people around you with the same interests. You are now able to search for users by their profile's location field. All from the same search box in which you would search for them by name.


A lot of code optimizations throughout the template files.


--
NOTICE: At the time of this post, UBB.threads 7.5.10 is very much still work in progress. This current code will change several more times before being published to the Members area of http://ubbcentral.com. This *WORK IN PROGRESS* code is not available for download or purchase. This series of progress reports is being made public to share the development progress on UBB.threads. Items may be pulled from the final release or may be reworked to have a different presentation than what is depicted in this post. This is very much WORK IN PROGRESS and not by any means "final."

310 Views · 0 Comments
02/02/15 01:45 PM UBB.Threads Suhosin Check by Gizmo

I've been hard at work on the Suhosin detection and a Suhosin Information display which will give the user data on what setting is recommended, what settings are being used, and what the default data is.

Data for recommendations is utilized as referenced from PHPMyAdmin's doc's (I had to reference a big project).

A bug was also discovered with my initial check and will be updated in the next version (I used equal to or less than, rather than less than, in my test code and didn't get it updated).

If your webhost is running the recommended settings and you're still seeing the warning, you can fix this by editing admin/login.php
Find:
Code:
// suhosin Check by VNC Web Services (http://www.virtualnightclub.net/)
if(extension_loaded("suhosin") && ini_get("suhosin.get.max_value_length")) {
	if(ini_get("suhosin.get.max_value_length") <= 2048) {
		$suhosin = "You may experience issues with a blank configuration file if you continue, please see <a href=\"http://www.ubbwiki.com/article/view/16/issues-with-suhosin.html\" target=\"_blank\">UBB.Wiki: Issues with suhosin</a>; this issue pertains to the settings of the suhosin module with your webhost.  Your current suhousin length is: ". ini_get("suhosin.get.max_value_length") .".";
	} else {
		$suhosin = "";
	}
}


Replace With
Code:
// suhosin Check by VNC Web Services (http://www.virtualnightclub.net/)
if(extension_loaded("suhosin") && ini_get("suhosin.get.max_value_length")) {
	if(ini_get("suhosin.get.max_value_length") < 2048) {
		$suhosintxt = "You may experience issues with a blank configuration file if you continue. Please see \"<a href=\"http://www.ubbwiki.com/article/view/16/issues-with-suhosin.html\" target=\"_blank\">UBB.Wiki: Issues With Suhosin</a>\". This issue pertains to the settings of the suhosin module with your webhost.";
		$suhosinsize = ini_get("suhosin.get.max_value_length") ;
	} else {
		$suhosintxt = "";
		$suhosinsize = "";
	}
}


The new check that I'm working on will check the following settings:
Quote:
suhosin.get.max_value_length < 1024
suhosin.request.max_vars < 2048
suhosin.post.max_vars < 2048


Versus:
Quote:
suhosin.get.max_value_length < 2048


For users with Suhosin installed, if you'd be interested in testing the new Suhosin check/info center PLEASE send me a PT or an email james[at]virtualnightclub[dot]net and I'll give you the latest set of coding (you must be running 7.5.8+ in order to use the new code).

734 Views · 16 Comments
Shout Box
Latest Posts
On-Board Modifications
by Gizmo
03/05/15 03:16 PM
Visit Us on Facebook
(Views)Popular Topics
Known public proxy servers 2,321,748
Integrated Index Page (IIP) 5.3.1 900,683
Q & A 851,794
Finished-[6.5.2] Games Arcade Deluxe v1.9 711,667
[6.0x] Who's Online 4.0.0 [Finished] 685,183
Integrated Index Page (IIP) 5.1.1 560,956
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 463,804
[6.0x] UBB Calendar v1.9 347,418
1and1.com 323,511
[6.0x] Avatar Hack v0.0007e *FINAL* [Finished] 312,882
Member Spotlight
Joined: Mar 2000
Posts: 25587
Forum Stats
13,719 Registered Members
62 Forums
37,257 Topics
291,174 Posts

Most users ever online: 1,097 @ 08/08/14 03:45 PM
Top Posters
AllenAyres 25587
JoshPet 11330
Rick 8373
LK 7396
Lord Dexter 6503
Gizmo 5553
Greg Hard 5533
Top Posters (30 Days)
id242 13
Gizmo 7
Mark_S 6
AllenAyres 1
Ruben Rocha 1
The UBB.Developers Network™ (UBB.Dev™/Threads.Dev™) is ©2000-2015 VNC Web Services

▼ Our Sponsors ▼ ▲ Our Sponsors ▲