<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.8.0-dev (info@mypapit.net)" -->
<rss version="2.0" >
    <channel>
        <title>Unclassified NewsBoard News</title>
        <description></description>
        <link>http://newsboard.unclassified.de/</link>
        <lastBuildDate>Thu, 23 May 2013 03:43:23 GMT</lastBuildDate>
        <generator>FeedCreator 1.8.0-dev (info@mypapit.net)</generator>
        <item>
            <title>SEO optimized URLs</title>
            <link>http://newsboard.unclassified.de/forum/thread/1845</link>
            <description><![CDATA[
Hello,<br />
<br />
UNB does a very great job when it comes to SEO. But there is still some space for optimizations.<br />
<br />
URLs like <a href="forum?req=derefer&amp;url=http%3A%2F%2Fmydomain.com%2Fforum%2Fpost%2F10956" title="http://mydomain.com/forum/post/10956">http://mydomain.com/forum/post/10956</a> are not search firendly and cause double content.<br />
The urls occur in some places, eg. on the header of each post where you can link to the post directly.<br />
<br />
Is there a simple way to create a url instead which jumps to the SEO friendly Thread Url on the correct page and user an HTML anchor to navigate to the post?<br />
<br />
Thanks,<br />
Alex
]]></description>
            <author> no_email@example.com (gnauck)</author>
            <pubDate>Fri, 15 Feb 2013 13:17:52 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1845</guid>
        </item>
        <item>
            <title>abbc tags - leerzeichen umwandeln</title>
            <link>http://newsboard.unclassified.de/forum/thread/1832</link>
            <description><![CDATA[
Hi,<br />
<br />
ich möchte abbc-tags hinzufügen, welche aus einem Begriff eine URL erstellen. Die Begriffe können aus mehreren Wörtern bestehen und die Leerzeichen müssen durch ein + ersetzt werden.<br />
Leider habe ich keine Idee, wie die Syntax dazu aussehen müsste und auch über die Suche (weder auf deutsch, noch auf englisch) etwas gefunden.<br />
<br />
Hat jemand eine Idee?<br />
<br />
Gruß<br />
Martin
]]></description>
            <author> no_email@example.com (Dogge)</author>
            <pubDate>Sat, 20 Oct 2012 11:08:30 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1832</guid>
        </item>
        <item>
            <title>YouTube ABBC Tag</title>
            <link>http://newsboard.unclassified.de/forum/thread/1831</link>
            <description><![CDATA[
Hallo!<br />
<br />
Ich habe den YouTube Code Block von <a href="http://newsboard.unclassified.de/forum/thread/1670" title="http://newsboard.unclassified.de/forum/thread/1670">http://newsboard.unclassified.de/forum/thread/1670</a> in meine "abbctags.php" kopiert. Nur leider brachte das nicht den erhofften erfolg, nämlich das ich YouTube Videos einbinden kann.<br />
<br />
Wenn ich den Tag [toob]Video Code[/toob] in einen Beitrag einfüge, sehe ich zwar den Player aber das war es dann auch. Das Video ist nicht abspielbar. (siehe Anhang)<br />
<br />
Meine Frage ist nun, was muss ich ändern damit der ganze Spaß funktioniert?<br />
<br />
Viele Grüße<br />
Basti
]]></description>
            <author> no_email@example.com (bastchen)</author>
            <pubDate>Sat, 15 Sep 2012 08:50:20 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1831</guid>
        </item>
        <item>
            <title>UNB und admidio</title>
            <link>http://newsboard.unclassified.de/forum/thread/1806</link>
            <description><![CDATA[
Hallo liebes UNB-Team,<br />
<br />
ich habe da mal eine Frage. Ich benutze die Mitgliedersoftware admidio. Mit dem OpenSource Script ist es möglich, Mitglieder zu verwalten und es hat noch weitere Sachen wie Terminkalender, Downloads, Listen (eine ziemlich abgespeckte Art von Gruppenverwaltung), etc.<br />
Leider besitzt dieses Script kein eigenes Forum. Jedoch gibt es die Möglichkeit sich mit dem phpbb2 zu verbinden. Also mit Verbinden meine ich, wenn man sich bei admidio anmelden, dann wird man auch im Forum registriert. Loggt man sich ein, so ist man auch im Forum angemeldet. Ändern man bei admidio seine Daten, so werden diese auch im Forum geändert.<br />
Ich hatte mir das phpbb angeschaut und mir hat weder die 2er noch die 3er gefallen. Auf der Suche nach einen guten Forensystem bin ich nun auf Euer gestoßen und ich muss sagen, dass es wirklich super ist.<br />
Jetzt ist allerdings mein Problem, dass ich natürlich wieder die Verbindung schaffen möchte. Da ich aber nur Grundkenntnisse im Bereich php habe, wollte ich mal Fragen ob sich jemand mal den Anhang anschauen könnte. Das ist die Datei die das Forum phpbb2 mit admidio verbindet. Jede Idee und jeder Tipp könnte mir hier wirklich helfen. Eine passende Lösung würde mir sicher auch helfen, kann ich jedoch nicht verlangen. <img src="http://newsboard.unclassified.de/unb_lib/designs/_smile/unb/wink.png" title=";)" alt=";)" style="vertical-align:middle;width:15px;height:15px;" class="smilie" /><br />
<br />
Ich wollte mal Fragen, ob es möglich ist, diese Datei einfach auf UNB umzuschreiben oder ob bzw. was bei Euch bestimmte Sachen anders gelöst werden muss bzw. ob das so einfach geht.<br />
Ich würde mich echt freuen, da ich mir ehrlich kein besseren Forensystem im Zusammenspiel mit admidio vorstellen kann.<br />
Bei Eurem System stimmt einfach alles.<br />
<br />
Gruss<br />
Dj
]]></description>
            <author> no_email@example.com (DjPD)</author>
            <pubDate>Mon, 11 Apr 2011 14:06:55 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1806</guid>
        </item>
        <item>
            <title>Hack to avoid spammers using the messaging system</title>
            <link>http://newsboard.unclassified.de/forum/thread/1797</link>
            <description><![CDATA[
We had a few cases where spammers used the "send email" function to spam registered forum members. As a quick fix I changed the function to give access to active members only (registered for more than 14 days, at least one post). This should keep most of the spammers out. At least for the messaging function.<br />
<br />
<tt>--- cp.inc.php.bak&nbsp; &nbsp; &nbsp; 2011-01-09 13:40:32.000000000 +0100<br />
+++ cp.inc.php&nbsp; 2011-01-09 13:40:46.000000000 +0100<br />
@@ -1470,6 +1470,14 @@<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; $error .= $UNB_T['error.access denied'] . '&lt;br /&gt;';<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; }<br />
&nbsp;<br />
+<br />
+&nbsp; &nbsp; &nbsp;&nbsp; // ANDI<br />
+&nbsp; &nbsp; &nbsp;&nbsp; if( (time() - $UNB['LoginUser']-&gt;GetRegDate()) &lt; 60*60*24*14 ||<br />
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; !UnbGetLastPost("User=".(int) $UNB['LoginUserID']) ) {<br />
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; $error .= $UNB_T['error.access denied'] . '&lt;br /&gt;';<br />
+&nbsp; &nbsp; &nbsp;&nbsp; }<br />
+<br />
+<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; if (($_POST['id'] == '' || trim($_POST['Msg']) == ''))<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; {<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; $error .= $UNB_T['cp.error.form not complete'] . '&lt;br /&gt;';<br />
@@ -3085,8 +3093,19 @@<br />
&nbsp;{<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; if ($_REQUEST['action'] == 'email' || $_REQUEST['action'] == 'sendemail')<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; {<br />
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; EMailForm($userid);<br />
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; UteRemember('userprofile.html', $TP);<br />
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; // ANDI<br />
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; if( (time() - $UNB['LoginUser']-&gt;GetRegDate()) &lt; 60*60*24*14 ||<br />
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; !UnbGetLastPost("User=".(int) $UNB['LoginUserID']) ) {<br />
+<br />
+<br />
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; $TP['errorMsg'] .= $UNB_T['error.access denied'] . '&lt;br /&gt;'.<br />
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'You\'re not allowed to use the email system, yet.&lt;br /&gt;';<br />
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; $TP['headNoIndex'] = true;<br />
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; }else{<br />
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; EMailForm($userid);<br />
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; UteRemember('userprofile.html', $TP);<br />
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; }<br />
+<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; }<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; elseif ($_REQUEST['action'] == 'emailsuccess')<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; {<br />
</tt>

]]></description>
            <author> no_email@example.com (splitbrain)</author>
            <pubDate>Sun, 09 Jan 2011 13:00:23 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1797</guid>
        </item>
        <item>
            <title>using gravatar images in thread</title>
            <link>http://newsboard.unclassified.de/forum/thread/1791</link>
            <description><![CDATA[
I have finished the XMPP plugin. Because writing UNB plugin is fun I am thinking about a new plugin which displays a Gravatar when the user has no avatar set but an Gravatar for the email address exists.<br />
Is this doable as a plugin?<br />
<br />
Thanks,<br />
Alex
]]></description>
            <author> no_email@example.com (gnauck)</author>
            <pubDate>Sat, 30 Oct 2010 19:37:35 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1791</guid>
        </item>
        <item>
            <title>notifications for new threads</title>
            <link>http://newsboard.unclassified.de/forum/thread/1788</link>
            <description><![CDATA[
I consider writing a XMPP plugin which notifies board admins of new created threads. Because I don't like RSS feeds and polling.<br />
Could you give me small guide how to start with that?<br />
<br />
Thanks,<br />
Alex
]]></description>
            <author> no_email@example.com (gnauck)</author>
            <pubDate>Thu, 28 Oct 2010 06:26:49 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1788</guid>
        </item>
        <item>
            <title>Simple example for session.prelogin and session.newuser?</title>
            <link>http://newsboard.unclassified.de/forum/thread/1771</link>
            <description><![CDATA[
Hi,<br />
<br />
I want that users are not able to register to my unb. Instead, they should login with the username/password they already have in my game. When doing this for the first time, their user should be created for unb with default settings (but e-mail I already know) and they should be able to edit all settings as usual.<br />
<br />
Looks like "session.prelogin" and "session.newuser" are made exactly for that! Though the documentation is really nearly non-existent. I have no idea on how it is intended to be used! (Tried around a bit but to no success)<br />
<br />
Would anyone mind writing me a simple example plugin that accepts the login for user "joe", password "joe" and uses "session.newuser" to for example set its email address to "joe@example.com"
]]></description>
            <author> no_email@example.com (Pompei2)</author>
            <pubDate>Thu, 13 May 2010 16:29:45 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1771</guid>
        </item>
        <item>
            <title>[Solved] Include a Javascript file within a plugin without a templatee</title>
            <link>http://newsboard.unclassified.de/forum/thread/1761</link>
            <description><![CDATA[
Hi,<br />
<br />
I'm writing a plugin that creates a new ABBC tag. This tag needs javascript - a lot (jQuery &amp; co). Currently, I was not able to include a javascript file from within my plugin. I tried with UnbRequireJs but it does not seem to do anything. Rather, when used in global-scope, it said that this function does not exist, but when used inside a function, it did not produce an error but did not include the js file either.<br />
<br />
How to go about this? I don't want to hack around other files than my plugin's files but I need to have a javascript file included in any shown page.<br />
<br />
Edit: I may insert the js code directly into my tag's php output, but that is harakiri as the js code includes jQuery, which contains a lot of ' and " things.....
]]></description>
            <author> no_email@example.com (Pompei2)</author>
            <pubDate>Fri, 05 Mar 2010 18:51:34 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1761</guid>
        </item>
        <item>
            <title>Plugin for donations, user icons</title>
            <link>http://newsboard.unclassified.de/forum/thread/1751</link>
            <description><![CDATA[
I run a game community forum with unclassified newsboard, and i'm very happy with it (-&gt; <a href="forum?req=derefer&amp;url=http%3A%2F%2Fwww.gausschannel.com" title="www.gausschannel.com">www.gausschannel.com</a>)<br />
<br />
To cover the expenses, i have added a donation button to the navigation (by directly adding the paypal javascript code to the _head.html page). Now, to polish this a bit, i have some questions.<br />
<br />
<ul><li>Extending the navigation in the _head.html file seems unelegant, would there be a better way?</li></ul>
<ul><li>I would like to add a small icon before the name of users who have donated. To do this, i plan to do some things in the board:</li></ul>
<ul><ul><li>I need to store additional user information (amount and date of donation) in the user table</li></ul></ul>
<ul><ul><li>In all places where the username is displayed, the donor icon should show up. Is this best done with a variable in the template file and a corresponding handler. Is there any information on how to do this? Ideal would be a way of extending the IUser class with a get method GetUserIcon(user id=0) or so, which would be called by a handler. </li></ul></ul>
<br />
If you have any tipps or design-papers on how to implement this as a plugin without breaking the clean design of the newsboard, i would be grateful.
]]></description>
            <author> no_email@example.com (floyd59)</author>
            <pubDate>Tue, 01 Dec 2009 11:33:06 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1751</guid>
        </item>
        <item>
            <title>global source code variables?</title>
            <link>http://newsboard.unclassified.de/forum/thread/1741</link>
            <description><![CDATA[
is there a definitive list anywhere of all the variables accessible from within UNB?&nbsp;&nbsp; the link on <a href="http://newsboard.unclassified.de/devel/docs" title="http://newsboard.unclassified.de/devel/docs">this page</a> just goes back to the site frontpage<br />
<br />
specifically i'm trying to embed a 'flickr badge' at the top of a page, but i want it only to show on one particular forum, so i need some way to test.&nbsp; eg:<br />
<br />
<br />
<tt>{ if &lt;forumname or forumID == whatever&gt; }<br />
&lt; show flickr badge &gt;<br />
{else}<br />
&lt; don't &gt;<br />
{endif}<br />
</tt>

]]></description>
            <author> no_email@example.com (madra)</author>
            <pubDate>Sun, 04 Oct 2009 12:00:38 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1741</guid>
        </item>
        <item>
            <title>Working with Fonts</title>
            <link>http://newsboard.unclassified.de/forum/thread/1727</link>
            <description><![CDATA[
A while back I created an <a href="forum?req=derefer&amp;url=http%3A%2F%2Fnfgworld.com%2Fmb%2Fthread%2F601" title="http://nfgworld.com/mb/thread/601">arcade font machine</a>, and I put it to good use on my UNB forum, displaying usernames in glorious 8x8 pixel fonts.&nbsp; Recently, with the release of modern browsers like Opera 10 and Firefox 3.5, it became possible to use TTF/OTF/etc fonts in webpages.&nbsp; So I put those to good use also.&nbsp; Here is my guide to adding these features to your own UNB installation.&nbsp; <br />
<br />
First, the pixel fonts:<br />
<br />
<div style="text-align: center;"><img src="http://nfgworld.com/grafx/throwaway/new-font-2.png" title="http://nfgworld.com/grafx/throwaway/new-font-2.png" alt="[Bild: http://nfgworld.com/grafx/throwaway/new-font-2.png]" /></div>
<br />
<ul><li>Simply open /unb_lib/designs/modern/post.html and replace {$post.authorName} with &lt;img src="http://yourserver.com/path-to-NFGscript/arcade.php/y-rf/z-3/dbl-2/x-{$post.authorName}" /&gt;</li></ul>
<br />
Next, custom truetype fonts, using CSS:<br />
<br />
<div style="text-align: center;"><img src="http://nfgworld.com/grafx/throwaway/new-font-1.png" title="http://nfgworld.com/grafx/throwaway/new-font-1.png" alt="[Bild: http://nfgworld.com/grafx/throwaway/new-font-1.png]" /></div>
<br />
<ul><li>Just add the following to your user.css.php file:</li></ul>
<br />
<tt>@font-face {<br />
&nbsp; font-family: Border;<br />
&nbsp; src: url(/path-to/fonts/borderheaven.otf);<br />
}<br />
<br />
.post_username {<br />
&nbsp;&nbsp;&nbsp; font-family: Border, Arial, sans-serif;<br />
&nbsp;&nbsp;&nbsp; font-size: 16px;<br />
&nbsp;&nbsp;&nbsp; color: red;<br />
&nbsp;&nbsp;&nbsp; }</tt>
<br />
Finally, remember that if your users are stuck with an older, crappier browser, all they'll see is this:<br />
<br />
<div style="text-align: center;"><img src="http://nfgworld.com/grafx/throwaway/new-font-3.png" title="http://nfgworld.com/grafx/throwaway/new-font-3.png" alt="[Bild: http://nfgworld.com/grafx/throwaway/new-font-3.png]" /></div>
<br />
(actually the pixel fonts should work fine, though without the PNG transparency, and the CSS fonts will simply be ignored).
]]></description>
            <author> no_email@example.com (NFG)</author>
            <pubDate>Mon, 20 Jul 2009 07:31:05 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1727</guid>
        </item>
        <item>
            <title>UNB Theme Development</title>
            <link>http://newsboard.unclassified.de/forum/thread/1682</link>
            <description><![CDATA[
Hey there all!!! I am Miku &gt;.&lt; <br />
<br />
Currently I am taking request for custom UNB Themes and no that dosen't mean I will re-write the entire CSS or Template files. This only includes making the entire theme with maybe some CSS changes ^^ ..... Okay now what pieces of information do I need from you?<br />
<br />
-Theme Request Form Layout<br /><div style="border-top:1px solid #808080; margin:4px 0;"></div>Theme Name: REQUESTED THEME NAME<br />
Name: YOUR NAME<br />
E-Mail: WHERE I CAN SEND THE THEME/CONTACT NEXT PERSON IN LINE<br />
Website URL: YOUR SITE URL <br />
Colors: COLORS YOU WISH TO BE USED<br />
Images: IMAGES YOU WISH TO BE USED<br />
Example: EXAMPLE OF THEME YOU WISH YOUR BOARD TO LOOK LIKE EXAMPLES CAN BE FROM (PHPBB3, SMF, ECT)<br />
Style Theme: STYLE THEME (Gaming, Anime, Manga, Club's, Programming, Personal, Cooking, Ect)<br />
Licenced To: YOUR COMPANY, ORGANIZATION, GROUP NAME (Name .Ltd, You Tube, Google.com)<br /><div style="border-top:1px solid #808080; margin:4px 0;"></div>That about all I need from you posted right here. Please note I will take on "ONE" project at a time so you might have to wait sry.... I will contact the next person in line via e-mail. Also each theme will include a something like this <br />
"Designed By: Miku of SEEDesign .Ltd" ...... Now the most important part... I only accept "ONE" request per person.... <br />
Also each theme will take about 1-2 Weeks to finish... since I have little time to work from day to day but I will try my best to finish ASAP ^^<br />
<br />
-Miku of SEEDesign .Ltd
]]></description>
            <author> no_email@example.com (Miku)</author>
            <pubDate>Sat, 31 Jan 2009 21:31:55 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1682</guid>
        </item>
        <item>
            <title>UNB as a CMS</title>
            <link>http://newsboard.unclassified.de/forum/thread/1672</link>
            <description><![CDATA[
While setting up a new site I thought it might be a good idea to have front page updates controlled by UNB.&nbsp; Now I can make forum posts, and all the content appears on the front page of the site, as if by magic!&nbsp; It means I now have one system for forum + CMS, instead of two.<br />
<br />
If you'd like to pull posts from UNB and put them on your site, here's a guide to doing it.&nbsp; The following information does four things:<br />
<ul><li>Set up database access</li></ul>
<ul><li>Replaces BBCode with HTML</li></ul>
<ul><li>cuts the post after a set length so long posts don't overflow</li></ul>
<ul><li>searches for posts in the UNB database and displays them on your website</li></ul>
<br />
<div style="text-align: center;"><b>Database Access</b></div>
<br />
<tt>// MySQL config<br />
$dbname = "database name";<br />
$dbuser = "database user";<br />
$dbpass = "database password";<br />
$dbhost = "server address (usually localhost)";<br />
</tt>
<br />
<div style="text-align: center;"><b>Post Data Fixing</b></div>
<br />
This function does both jobs: <br />
<ul><li>cuts the post length </li></ul>
<ul><li>replaces the UBCode</li></ul>
<br />
(I did not write either function)<br />
<br />
<tt>/* First, truncate the string.&nbsp; */<br />
/* Accepts 2 criteria: the string itself and the character limit&nbsp; */<br />
function myTruncate($string, $limit, $break="\n")<br />
&nbsp; {<br />
&nbsp;&nbsp;&nbsp; // return with no change if string is shorter than $limit<br />
&nbsp;&nbsp;&nbsp; if(strlen($string) &lt;= $limit) return $string;<br />
&nbsp;<br />
&nbsp;&nbsp;&nbsp; // is $break present between $limit and the end of the string?<br />
&nbsp;&nbsp;&nbsp; if(false !== ($breakpoint = strpos($string, $break, $limit))) {<br />
&nbsp;&nbsp; &nbsp;&nbsp; if($breakpoint &lt; strlen($string) - 1) {<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; $string = substr($string, 0, $breakpoint);<br />
&nbsp;&nbsp; &nbsp;&nbsp; }<br />
&nbsp;&nbsp;&nbsp; }<br />
<br />
/* Next, replace BBCode with HTML */<br />
&nbsp; $bbcode = array("&lt;", "&gt;",<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; "[img]", "[/img]", <br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; "[b]", "[/b]", <br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; "[u]", "[/u]", <br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; "[i]", "[/i]",<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; '[color="', "[/color]",<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; '[url=', "[/url]",<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; "[quote]", "[/quote]",<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; ']');<br />
&nbsp; $htmlcode = array("&amp;lt;", "&amp;gt;",<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; "&lt;img src=\"", "\"&gt;", <br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; "&lt;b&gt;", "&lt;/b&gt;", <br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; "&lt;u&gt;", "&lt;/u&gt;", <br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; "&lt;i&gt;", "&lt;/i&gt;",<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; "&lt;span style=\"color:", "&lt;/span&gt;",<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; '&lt;a href="', "&lt;/a&gt;",<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; "&lt;table width=100% bgcolor=lightgray&gt;&lt;tr&gt;&lt;td bgcolor=white&gt;", "&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;",<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; '"&gt;');<br />
&nbsp; $newtext = str_replace($bbcode, $htmlcode, $string);<br />
&nbsp; $newtext = nl2br($newtext);//second pass<br />
&nbsp; return $newtext;<br />
}<br />
</tt>
<br />
<div style="text-align: center;"><b>Post Display Loop</b></div>
<br />
<tt>/* This function accepts a forum number, number of posts to grab, and post contents or not */<br />
/* If you want only post subject, $content should be 0&nbsp; */<br />
/* Note that this is hard-wired for user #1.&nbsp; You can change this to whatever your user number is) */<br />
function getposts($forum, $postcount, $content) { <br />
&nbsp;&nbsp;&nbsp; $sql = "select ID, Forum from unb_threads where (User=1) and (Forum=$forum) order by Date Desc limit $postcount";<br />
&nbsp;&nbsp;&nbsp; $res = mysql_query($sql);<br />
&nbsp;&nbsp;&nbsp; echo mysql_error();<br />
/* $firstpost = true means that it will not grab REPLIES, only the FIRST POST */<br />
&nbsp;&nbsp;&nbsp; $firstpost = true;<br />
&nbsp;&nbsp;&nbsp; //&nbsp; &nbsp; -------------------------------------------------------------------------------------- BLOCK START<br />
&nbsp;&nbsp;&nbsp; while($row = mysql_fetch_assoc($res)) { <br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; $id = $row['ID'];<br />
&nbsp;&nbsp;&nbsp; //&nbsp; &nbsp; -------------------------------------------------------------------------------------- DISPLAY LOOP<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; $sql = "Select Subject, Msg from unb_posts where (Thread=$id) and (User=1) and (ReplyTo=0) order by Date Desc";<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; $res2 = mysql_query($sql);<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; $post = mysql_fetch_assoc($res2);<br />
&nbsp;&nbsp;&nbsp; //&nbsp; &nbsp; -------------------------------------------------------------------------------------- DISPLAY TITLE<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; echo "&lt;div style=\"margin: 5px 0 0 0;\"&gt;";<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; echo "&lt;div class=\"ctitle\"&gt;&lt;b&gt;&lt;a href=\"http://nfgworld.com/mb/thread/$id\"&gt;".$post['Subject']."&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;";<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; // echo "";<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; if($content) { <br />
&nbsp;&nbsp;&nbsp; //&nbsp; &nbsp; -------------------------------------------------------------------------------------- DISPLAY CONTENT<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; echo "&lt;div class=\"content\"&gt;";<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; $body = myTruncate($post['Msg'], 75);<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; echo $body;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; echo "&lt;/div&gt;";<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; }<br />
&nbsp;&nbsp;&nbsp; //&nbsp; &nbsp; -------------------------------------------------------------------------------------- DISPLAY CONTENT END<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; echo "&lt;/div&gt;";<br />
&nbsp;&nbsp;&nbsp; //&nbsp; &nbsp; -------------------------------------------------------------------------------------- DISPLAY TITLE END<br />
&nbsp;&nbsp;&nbsp; }<br />
&nbsp;&nbsp;&nbsp; // echo "";<br />
}<br />
&nbsp;&nbsp;&nbsp; //&nbsp; &nbsp; -------------------------------------------------------------------------------------- BLOCK END<br />
</tt>
<br />
Now, it's probably not nearly as nice as Yves' code, but it works.&nbsp; Putting all the HTML code in the PHP echo blocks is cumbersome and ugly, but...&nbsp; Well, I suck.&nbsp; It's all I can do.&nbsp; By using CSS you can change the appearance of the posts depending on where they are in the page.<br />
<br />
<div style="text-align: center;"><b>The HTML Page 1</b></div>
<br />
Finally, the page itself.&nbsp; This is a very short example.&nbsp; Your page design should look like this:<br />
<br />
<ul><li>HTML START</li></ul>
<ul><li>PHP Functions (listed above)</li></ul>
<ul><li>Connect to the DB (below)</li></ul>
<ul><li>Some HTML/CSS/Whatever.&nbsp; </li></ul>
<ul><li>HTML END</li></ul>
<br />
You can use the GETPOSTS function anywhere you want to display your posts<br />
<br />
<tt>// First, connect to the DB.&nbsp; This should be one of the first things in your page:<br />
&lt;?<br />
$db = mysql_connect($dbhost, $dbuser, $dbpass);<br />
mysql_select_db($dbname);<br />
?&gt;</tt>
<br />
<div style="text-align: center;"><b>The HTML Page 2</b></div>
<br />
Finally, here's an example of the HTML &amp; PHP used to display the post(s).&nbsp; It pulls 12 posts from forum 31, with no content:<br />
<br />
<tt>&lt;div class="news"&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;?<br />
&nbsp;&nbsp;&nbsp; echo getposts(31, 12, 0);<br />
&nbsp;&nbsp;&nbsp; ?&gt;<br />
&lt;/div&gt;<br />
</tt>
<br />
Some extra thoughts:<br />
<ul><li>This code is as secure as any other PHP file on your server.&nbsp; Normally people won't be able to view your passwords and such if they're in a PHP file, but if your server's insecure this file is going to give away your passwords.</li></ul>
<ul><li>This code does not use any UNB facilities, it's a raw assault on the database.&nbsp; Since it's read-only there's no chance of messing up your data, but it doesn't obey UNB's user access rules or anything, so it's easy to rip out private posts etc.</li></ul>
<ul><li>I don't write good code.&nbsp; This is all probably dangerous and will cause your server to catch fire.&nbsp; Don't say I didn't warn you!</li></ul>

]]></description>
            <author> no_email@example.com (NFG)</author>
            <pubDate>Fri, 05 Dec 2008 09:23:50 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1672</guid>
        </item>
        <item>
            <title>Useful ABBC add-ons</title>
            <link>http://newsboard.unclassified.de/forum/thread/1670</link>
            <description><![CDATA[
I've been adding features to my forum and thought maybe other people would be interested in my solutions.&nbsp; To add any of these to your own forum, simply copy the code into your abbctags.php file (in unb_lib/plugins)<br />
<br />
<b>Youtube videos</b><br />
Some users wanted to see inline youtube videos, so I created an ABBC tag called <b>[toob]</b>.&nbsp; The code is:<br />
<br />
<tt>&nbsp; &nbsp; $ABBC['Tags']['toob'] = array(<br />
&nbsp;&nbsp; &nbsp; 'htmlopen0'&nbsp; =&gt; '&lt;center&gt;&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/$1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com.au/v/$1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"&gt;&lt;/embed&gt;&lt;/object&gt;',<br />
&nbsp;&nbsp; &nbsp; 'htmlcont0'&nbsp; =&gt; '',<br />
&nbsp;&nbsp; &nbsp; 'htmlclose0' =&gt; '&lt;/center&gt;',<br />
&nbsp;&nbsp; &nbsp; 'textcont0'&nbsp; =&gt; 'http://www.youtube.com/v/$1',<br />
&nbsp;&nbsp; &nbsp; 'htmlblock'&nbsp; =&gt; true,<br />
&nbsp;&nbsp; &nbsp; 'minparam'&nbsp;&nbsp; =&gt; 0,<br />
&nbsp;&nbsp; &nbsp; 'maxparam'&nbsp;&nbsp; =&gt; 0,<br />
&nbsp;&nbsp; &nbsp; 'openclose'&nbsp; =&gt; true,<br />
&nbsp;&nbsp; &nbsp; 'nocase'&nbsp; &nbsp;&nbsp; =&gt; true,<br />
&nbsp;&nbsp; &nbsp; 'nested'&nbsp; &nbsp;&nbsp; =&gt; false,<br />
&nbsp;&nbsp; &nbsp; 'proccont'&nbsp;&nbsp; =&gt; true,<br />
&nbsp;&nbsp; &nbsp; 'subset'&nbsp; &nbsp;&nbsp; =&gt; ABBC_CUSTOM<br />
);</tt>
<br />
Note that it requires the user enclose only the video ID, not the entire video URL.&nbsp; For example, <b>[toob]Qr4S-43ss2![/toob]</b>&nbsp; This is so I didn't have to add any logic to prevent them from linking any evil flash files.
]]></description>
            <author> no_email@example.com (NFG)</author>
            <pubDate>Thu, 20 Nov 2008 05:12:59 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1670</guid>
        </item>
        <item>
            <title>Using the user session of forum to protect other pages</title>
            <link>http://newsboard.unclassified.de/forum/thread/1650</link>
            <description><![CDATA[
Hallo zusammen,<br />
<br />
ich finde den forum super und wollte es auf meine webseite benutzen.<br />
Momentan hab ich ein eigenes login system für meine user und es gibt auch geschützte bereiche.<br />
<br />
Was ich jetz machen will ist, das ich meinen eigenen login entferne und über den forum login meine geschützten bereich betreiben will.<br />
<br />
<br />
Wie kann ich das machen ?<br />
<br />
Mfg<br />
Mathan
]]></description>
            <author> no_email@example.com (Mathan)</author>
            <pubDate>Tue, 12 Aug 2008 06:50:05 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1650</guid>
        </item>
        <item>
            <title>Integration with DokuWiki</title>
            <link>http://newsboard.unclassified.de/forum/thread/1637</link>
            <description><![CDATA[
I have just completed integration of UNB with DokuWiki.&nbsp; Well, mostly: DokuWiki now checks UNB's user list and passwords to verify wiki user permissions.&nbsp; It does not support the rest of DokuWiki's user-edit functionality, which is optional:&nbsp; just remember to edit them in UNB instead!<br />
<br />
Note also that I had to revert UNB to MD5 hashing for passwords, which means all your UNB users will have to create new passwords.&nbsp; The alternative is putting Yves' KMD5 code into DokuWiki, but such a job is beyond me.<br />
<br />
<a href="forum?req=derefer&amp;url=http%3A%2F%2Fwiki.splitbrain.org%2Fwiki%3Aauth%3Amysql" title="http://wiki.splitbrain.org/wiki:auth:mysql">DokuWiki MySQL Auth Setup</a><br />
<br />
<a href="forum?req=derefer&amp;url=http%3A%2F%2Fwiki.splitbrain.org%2Fwiki%3Aauth%3Amysql_unb" title="http://wiki.splitbrain.org/wiki:auth:mysql_unb">UNB details page</a><br />
<br />
I encourage additions to this work: my SQL abilities are pathetic.
]]></description>
            <author> no_email@example.com (NFG)</author>
            <pubDate>Sun, 13 Jul 2008 09:02:00 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1637</guid>
        </item>
        <item>
            <title>Plugin development.</title>
            <link>http://newsboard.unclassified.de/forum/thread/1614</link>
            <description><![CDATA[
Alrighty, so I'm helping my friend out by writing a "post as anonymous" plugin, as per <a href="http://newsboard.unclassified.de/forum/thread/1506" title="http://newsboard.unclassified.de/forum/thread/1506">this thread.</a> So, what I've got so far, is the config page, saving the settings, and adding the required fields and tables. Here's how I have it planned to work..<br />
<br />
'anon' field added to posts, to flag a post as anonymous.<br />
'anonypost' table added: id, threadid, userid, anonymous name<br />
Two setting added: basename for the anonymous name, and the avatar to use for them<br />
<br />
1. User opens the Post Options below the post, and checks off "Post Anonymously".<br />
2. Plugin sees this, and sets the added "anon" field in the posts table to 1, for this post. <br />
3. When the post is being parsed, in the post.preparse phase, it checks for the anon flag. If it's found.. <br />
4. Look in the "anonypost" table for this thread to see if this user has posted in this thread already. example: select name from anonypost where ((threadid = thisthread) and (userid = thisuser)). if a name's returned, use it. Otherwise, pull all the anonymous names (select name from anonypost where threadid=thisthread), trim them to just the number, get the max, and increment it. <br />
5. Use the "anonymous name" instead of their real one. Use an anonymous-specific avatar. Remove the signature and other information.<br />
6. If an admin is looking at the post, show the post normally, but add "this was posted anonymously" to the end of the message. <br />
<br />
<br />
<br />
Now, I've got some of this done, but the API and Hooks are kicking my butt.<br />
I'm stalled at step 2 - I can add the option to the Post Options section, but there seems to be no way to read that! post.preparse doesn't do it. post.postthreadcreate doesn't do it. <br />
<br />
edit: okay, got it. Have to check $_POST array in post.verifyaccept. <br />
<br />
Also, one potential issue I see is with quoting - is there a "prequote" hook? <br />
<br />
I'm trying to write this as an actual plugin, rather than just hack the code into shape. <img src="http://newsboard.unclassified.de/unb_lib/designs/_smile/unb/smile.png" title=":)" alt=":)" style="vertical-align:middle;width:15px;height:15px;" class="smilie" />
]]></description>
            <author> no_email@example.com (TwystNeko)</author>
            <pubDate>Thu, 27 Mar 2008 20:04:03 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1614</guid>
        </item>
        <item>
            <title>Die letzten 5-10 Beiträge auf der Startseite?</title>
            <link>http://newsboard.unclassified.de/forum/thread/1611</link>
            <description><![CDATA[
Hallo,<br />
<br />
kennt jemand zufällig ein plugin womit man sich die 5 oder 10 neusten Beiträge auf der Startseite anzeigen lassen kann???<br />
Also, sollte entweder unterhalb der Startseite sein oder evtl. unter der jeweiligen Kategorie...<br />
Also:<br />
Kategorie 1<br />
&nbsp;- Beitrag neu1<br />
&nbsp;- Beitrag neu2<br />
&nbsp;- Beitrag etc.<br />
Kategorie 2<br />
&nbsp;- Beitrag neu1<br />
&nbsp;- Beitrag neu2<br />
&nbsp;- Beitrag etc.
]]></description>
            <author> no_email@example.com (Dj_PD)</author>
            <pubDate>Mon, 17 Mar 2008 17:58:17 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1611</guid>
        </item>
        <item>
            <title>3. Ebene in der Forumstartseite anzeigen</title>
            <link>http://newsboard.unclassified.de/forum/thread/1586</link>
            <description><![CDATA[
Hi, ich habe, um die Übersichtlichkeit zu wahren in meinem Forum die Unterforen in Kategorien und Verschachtelungen eingeteilt. So im Sinne von:<br />
<br />
Forum<br />
<ul><li>Regeln und Infos</li></ul>
<ul><li>Kategorie 1</li></ul>
<ul><ul><li>Forum x</li></ul></ul>
<ul><ul><li>Kategorie y</li></ul></ul>
<ul><ul><ul><li>Unterforum y1</li></ul></ul></ul>
<ul><ul><ul><li>Unterforum y2</li></ul></ul></ul>
<ul><ul><ul><li>Unterforum y3</li></ul></ul></ul>
<ul><ul><li>Kategorie z</li></ul></ul>
<ul><ul><ul><li>Unterforum z1</li></ul></ul></ul>
<ul><ul><ul><li>Unterforum z2</li></ul></ul></ul>
<ul><ul><ul><li>Unterforum z3</li></ul></ul></ul>
<ul><ul><li>Kategorie 2</li></ul></ul>
...<br />
<ul><li>Gästebereich</li></ul>
<br />
Nun wird standardmässig die dritte Ebene (in meinem Fall die 6 Unterforen) ausgeblendet und es erscheint dafür der Text: "Unterhalb dieses Forums befinden sich weitere Foren: ...". Wäre es möglich, diese 3. Ebene nicht auszublenden? Ich weiss nicht, wonach ich in den Templates oder Stylesheets suchen muss, sonst hätte ich es selber gemacht...
]]></description>
            <author> no_email@example.com (stuetzl)</author>
            <pubDate>Mon, 11 Feb 2008 14:15:12 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1586</guid>
        </item>
        <item>
            <title>UNB reduzieren</title>
            <link>http://newsboard.unclassified.de/forum/thread/1551</link>
            <description><![CDATA[
<b>Servus Miteinander, Hi Yves</b><br />
<br />
Habe grade erst angefangen mich einzulesen, wollt aber schon mal als Gast die erste Frage stellen.<br />
<br />
Beispielsweise: UNB-Admin möchte in der Benutzeroberfläche<br />
<br />
&lt;header&gt;<br />
&lt;announcemet box&gt;<br />
&lt;footer&gt;<br />
<br />
angezeigt bekommen. <br />
Das "Forum - Modul"&nbsp; an sich sowie die Navigation ausblenden.<br />
<br />
<b>Frage:</b> In wie weit ist das UNB1.6 reduzierbar, bzw anpassbar wenn es darum geht nicht gleich nen neuen Quelltext zu schreiben sondern eben manches auszuklammern und somit auszublenden.<br />
<br />
Wär schön wenn ihr mir dazu ne Anregung schreiben könntet.<br />
Wurde soetwas schonal erwähnt?<br />
Im Zusammenhang mit UNB 2 bin ich schon über das Wort "Funktionsliste" geflogen.<br />
Das wort Baukasten Prinzip schwirrt kommt mir dazu auch.<br />
<br />
Danke einstweilen<br />
<br />
Mit Gruß<br />
<br />
Oliver
]]></description>
            <author> no_email@example.com (olschmid)</author>
            <pubDate>Sun, 09 Dec 2007 21:17:05 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1551</guid>
        </item>
        <item>
            <title>Access API with fixed user (instead of deriving the user from the session)</title>
            <link>http://newsboard.unclassified.de/forum/thread/1549</link>
            <description><![CDATA[
How do I access the UNB API as if by coming from a fixed user id, bypassing the session/cookie stuff that normally happens?<br />
<br />
I am trying to integrate UNB with a newspaper website, where I would like a forum thread for each news article.<br />
<br />
The newspaper website shows an article with a PHP script, so I augmented that script to invoke UNB API functions to find the right forum and the right thread within that forum and to output a link to that thread beneath the article.&nbsp; I also added code to auto-create the forum threads (using IThread.Add and IPost.Add, mostly).<br />
<br />
So far, so good.&nbsp; But now it turns out that the new thread and post are added using the credentials of the user sitting in front of the browser (if that user has logged into UNB yet).&nbsp; But that's not what I want.&nbsp; I want these auto-created threads and posts to be always from the same user.<br />
<br />
But the human sitting in front of the browser should still be allowed to click on a link to the thread, and be authenticated with their own credentials or by their own browser session.&nbsp; This way, replies added by that person would come from them.<br />
<br />
I started reading through the stuff that comes after the session.prelogin hook in common.lib.php, but it made my head swim.<br />
<br />
Thanks,<br />
Kai
]]></description>
            <author> no_email@example.com (kaig)</author>
            <pubDate>Sat, 08 Dec 2007 23:20:12 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1549</guid>
        </item>
        <item>
            <title>How to hide usernames for guests and bots</title>
            <link>http://newsboard.unclassified.de/forum/thread/1546</link>
            <description><![CDATA[
Hi,<br />
<br />
is it possible to let unb show usernames of the posts only to logged in people? Guests and bots shall only see a "***" or whatever instead of the username.<br />
<br />
Thx<br />
Greg<br />
<br />
Besides: I'm sure, it's possible. What i really mean is "how".
]]></description>
            <author> no_email@example.com (gregman)</author>
            <pubDate>Thu, 06 Dec 2007 12:50:09 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1546</guid>
        </item>
        <item>
            <title>Integration help</title>
            <link>http://newsboard.unclassified.de/forum/thread/1537</link>
            <description><![CDATA[
Hi,<br />
I am not sure if I can implement what i want with easy. I want to have a common login to the forum and site. Well i got the idea for that from other posts. Well my next requirement is to remove the top banner, the tabs and also the login fields. I just need the forum (I am not planning to change the looks. It is simple and simply awesome ). Not only that I would like to have an admin interface for the forum from an admin panel I have created for the site. Is these things possible? I hope I will get a reply to this post soon. Thanks.
]]></description>
            <author> no_email@example.com (joe)</author>
            <pubDate>Thu, 22 Nov 2007 15:40:01 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1537</guid>
        </item>
        <item>
            <title>Weitere Navigations-Buttons</title>
            <link>http://newsboard.unclassified.de/forum/thread/1533</link>
            <description><![CDATA[
Hall erstmal!<br />
<br />
Ich muß sagen das Forumsystem ist HAMMER!!!<br />
<br />
Riesen kompliment an den entwickler!!!!!!!!<br />
<br />
ich hoffe das ihr meine vorschläge zu Herzen nimmt, mal schauen vielleicht geföllt euch das...<br />
<br />
das forum geföllt mir sehr, was mir aber noch für die neue version gefallen würde, oben in der registerkarte noch eine schaltfläche für Blog, Games und eine Videogallerie.<br />
<br />
<br />
hier zum nachschauen : <a href="forum?req=derefer&amp;url=http%3A%2F%2Fwww.tunisdeluxe.de%2Findex.php" title="http://www.tunisdeluxe.de/index.php">http://www.tunisdeluxe.de/index.php</a><br />
<br />
<br />
ich benutze zurzeit das mybb Forum, und was ich sehr genial finde, es gibt ein Arcade mod wo die user die da spielen auch automatisch in die Highscore eingetragen werden....<br />
<br />
Was auch sehr nützlich sein würde, wäre die ähnlichen beiträge die man dann unten sehen könnte...<br />
<br />
also wenn da ne menge realisierbar wäre, würde ich auch gerne was in die Spendenkasse schmeissen <img src="http://newsboard.unclassified.de/unb_lib/designs/_smile/unb/wink.png" title=";-)" alt=";-)" style="vertical-align:middle;width:15px;height:15px;" class="smilie" /><br />
<br />
na dann würde mich auf die antworten freuen....<br />
<br />
<br />
liebe grüße aus Hamburg
]]></description>
            <author> no_email@example.com (aman)</author>
            <pubDate>Tue, 13 Nov 2007 11:31:51 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1533</guid>
        </item>
        <item>
            <title>Sharing user data with CMS portal</title>
            <link>http://newsboard.unclassified.de/forum/thread/1532</link>
            <description><![CDATA[
Greetings,<br />
&nbsp;I <b>mistakenly</b> posted a similar question in the general help section &lt;apologies&gt;.<br />
So now that I've since done a bit more investigation and made some attempts. I've finally come down to this:<br />
After evaluating 160+ CMS/portal/et al; I've decided for my needs, the <b>perfect</b> forum is UNB, and I've settled<br />
for CMSMS as a CMS/portal.<br />
I have a CMS already installed (CMS made simple). I - of course <img src="http://newsboard.unclassified.de/unb_lib/designs/_smile/unb/wink.png" title=";)" alt=";)" style="vertical-align:middle;width:15px;height:15px;" class="smilie" /> have UNB installed also. My site arrangement is thus:<br />
CMS == root of web site<br />
UNB === the folder <i>/unb/</i> just off of the root of the web site eg;<br />
<a href="forum?req=derefer&amp;url=http%3A%2F%2Fdomain.tld" title="http://domain.tld">http://domain.tld</a> == CMS<br />
<a href="forum?req=derefer&amp;url=http%3A%2F%2Fdomain.tld%2Funb%2F" title="http://domain.tld/unb/">http://domain.tld/unb/</a> == UNB forum<br />
<br />
OK, so now that I have them both installed. I don't want for users to have to register 2 times (1 for CMS, 2 for forum).<br />
So, I realize I have two things I need to deal with in order to overcome this:<br />
1) USER information stored in the DB (and also in the session - see: 2 below).<br />
2) Session information<br />
<br />
I've done a bit of searching in the forums here, as well as read some of the DEV related documentation (thanks Yves).<br />
I have also studied the code base (thanks again Yves for so many code comments). My searching has revealed 3 things:<br />
1) This is a popular topic <img src="http://newsboard.unclassified.de/unb_lib/designs/_smile/unb/smile.png" title=":)" alt=":)" style="vertical-align:middle;width:15px;height:15px;" class="smilie" /><br />
2) Many questions, but if anyone has finished their attempt to accomplish this, they have not shared the results. <img src="http://newsboard.unclassified.de/unb_lib/designs/_smile/unb/sad.png" title=":(" alt=":(" style="vertical-align:middle;width:15px;height:15px;" class="smilie" /><br />
3) The following juicy tidbits related to this sort of thing:<br />
<a href="http://newsboard.unclassified.de/forum/thread/1095" title="http://newsboard.unclassified.de/forum/thread/1095">http://newsboard.unclassified.de/forum/thread/1095</a><br />
<a href="http://newsboard.unclassified.de/forum/thread/1027" title="http://newsboard.unclassified.de/forum/thread/1027">http://newsboard.unclassified.de/forum/thread/1027</a><br />
<a href="http://newsboard.unclassified.de/forum/thread/1020" title="http://newsboard.unclassified.de/forum/thread/1020">http://newsboard.unclassified.de/forum/thread/1020</a><br />
<a href="http://newsboard.unclassified.de/coderef/20051116/function_rc.html" title="http://newsboard.unclassified.de/coderef/20051116/function_rc.html">http://newsboard.unclassified.de/coderef/20051116/function…</a><br />
<br />
So, I guess, as much as I would <b>love</b> someone to do all of this for me. I realize that would be selfish, and unrealistic. <img src="http://newsboard.unclassified.de/unb_lib/designs/_smile/unb/wink.png" title=";)" alt=";)" style="vertical-align:middle;width:15px;height:15px;" class="smilie" /><br />
What I <b>do</b> hope for, is a shorter learning curve in accomplishing this task. So <b>any</b> information, code snippets,<br />
pointers, etc will be <b>extremely</b> welcome. <img src="http://newsboard.unclassified.de/unb_lib/designs/_smile/unb/smile.png" title=":)" alt=":)" style="vertical-align:middle;width:15px;height:15px;" class="smilie" /><br />
Here is what I must contend with (see install.tar.gz attached to this post). As noted earlier, I have looked hard at both<br />
code bases, but as yet have accomplished no more than become lost. Is it hard to share the session data? It's<br />
located in /unb/unb_lib/session.lib.php (for UNB) correct? It appears that I have the option of kerb, sha, crypt, and plain<br />
text. Correct? Given the install (attached) will it be a problem to share tables. I currently have CMSMS and UNB using the<br />
same DB (mysql) and UNB uses a unb_ prefix. Whereas CMSMS uses no prefix. At this point, I am mostly interested<br />
in just each install knowing the users that are already registered, and sharing newly registered users data as well.<br />
This doesn't <b>seem</b> like it would be difficult. But it is <b>just</b> a little out of my reach (knowledge).<br />
<br />
Thank you in advance for all your time and consideration!<br />
<br />
P.S. If this gets accomplished. I <b>will most certainly post it here</b>. So others will have their prayers answered.&nbsp; <img src="http://newsboard.unclassified.de/unb_lib/designs/_smile/unb/grin.png" title=":-D" alt=":-D" style="vertical-align:middle;width:15px;height:15px;" class="smilie" />
]]></description>
            <author> no_email@example.com (Chris)</author>
            <pubDate>Tue, 13 Nov 2007 08:30:50 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1532</guid>
        </item>
        <item>
            <title>New tag - spoiler</title>
            <link>http://newsboard.unclassified.de/forum/thread/1527</link>
            <description><![CDATA[
I tried to create new tag called <i>'spoiler'</i> because on my forum, we often wrote about films and games and their plots. But it's not the best idea to show something that someone shouldn't see before see it himself. I know that we can use something like this:<br />
<br />
<b>SPOILER - lookout!</b><br />
<span style="color:gray">This is text that you should not read.</span><br />
<b>The end of SPOILER</b><br />
<br />
But this is not the best solution as you can read it involuntary...So I'd like to have this tag, that should look like this:<br />
<br />
[spoiler]This is text that you should not read.[/spoiler]<br />
<br />
And it should be converted to <tt>div</tt> with <tt>display: none</tt> and instead of it user should see link with some text like <i>Click here to reveal great mysteries</i>. Clicking it should change <tt>display: none</tt> to <tt>display: block</tt> with JS. <br />
<br />
<b>So where's the problem?</b><br />
I have no idea how to add some variable to this tag to make it independent from others on page and in same post (id). It's needed for identification different <tt>divs</tt> so JS could be used. First I thought that I could use <span style="color:blue">$postid</span> or something but if someone will use more then one spoiler in post it will generate errors.<br />
Could someone help me with this? If there is some better way to deal with this problem then I don't mind to use it. <img src="http://newsboard.unclassified.de/unb_lib/designs/_smile/unb/razz.png" title=":-p" alt=":-p" style="vertical-align:middle;width:15px;height:15px;" class="smilie" /><br />
<br />
[ot]Oh and Yves...Happy Birthday! <img src="http://newsboard.unclassified.de/unb_lib/designs/_smile/unb/grin.png" title=":-D" alt=":-D" style="vertical-align:middle;width:15px;height:15px;" class="smilie" />[/ot]
]]></description>
            <author> no_email@example.com (Draghmar)</author>
            <pubDate>Wed, 07 Nov 2007 13:35:41 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1527</guid>
        </item>
        <item>
            <title>Is there a way to hide links to visitors?</title>
            <link>http://newsboard.unclassified.de/forum/thread/1521</link>
            <description><![CDATA[
Hello there,<br />
<br />
We have started to use UNB for our websites and we need a plugin that makes the links or some part of content unavailable for visitors.<br />
<br />
Is there a way to to this? Or does this require a plug in?<br />
<br />
Thanks for your help by now...
]]></description>
            <author> no_email@example.com (UliJonRoth)</author>
            <pubDate>Tue, 23 Oct 2007 16:28:02 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1521</guid>
        </item>
        <item>
            <title>Ankündigungen im RSS-Feed</title>
            <link>http://newsboard.unclassified.de/forum/thread/1515</link>
            <description><![CDATA[
Hallo,<br />
<br />
ich möchte gerne, dass die Ankündigungen eines Forums auch im RSS Feed erscheinen. Leider bin ich mit meinen bisherigen Versuchen, die Datei rss.inc.php dahingehend zu modifizieren, gescheitert. Mein bsiheriges Vorhaben zielte darauf ab, die Datei announce.lib.php zu inkludieren, anhand der Forenid die entsprechenden Announcements zu finden und Titel, Subjekt und Foren-Url an den Feedcreator zu übergeben. Probleme habe ich vor allem damit, dass es die Funktionen Find() und FindNext() sowohl für Threads/Posts als auch für Announcements gibt. <br />
<br />
Hat jemand eine Idee, wie ich das möglichst einfach realisieren kann (oder vielleicht hat ja jemand bereits dieselbe Idee gehabt)?<br />
<br />
Grüße<br />
Gregor
]]></description>
            <author> no_email@example.com (gregman)</author>
            <pubDate>Mon, 15 Oct 2007 17:17:30 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1515</guid>
        </item>
        <item>
            <title>Kategorieanzeige ohne PlugIn?</title>
            <link>http://newsboard.unclassified.de/forum/thread/1510</link>
            <description><![CDATA[
Hallo Yves,<br />
<br />
gibt es diese Funktion die hier im Forum oben auf "Hauptseite" verlinkt auch als Download irgendwo? Ich möchte die Userid des eingeloggten Users nach dem Muster [...]/index.php?senderid=$userid an eine externe Webseite weiterleiten.<br />
<br />
Viele Grüße,<br />
Christian
]]></description>
            <author> no_email@example.com (SKZ-Forum)</author>
            <pubDate>Wed, 03 Oct 2007 17:28:42 GMT</pubDate>
            <guid isPermaLink="false">http://newsboard.unclassified.de/1510</guid>
        </item>
    </channel>
</rss>
