Not logged in. · Lost password · Register
Forum: Customising UNB Modifications and plug-ins Plug-in gallery RSS
Info Page
Adds an info page to UNB
Page:  1  2  next 
Avatar
Einstein #1
Member since Dec 2005 · 68 posts · Location: Turku, Finland
Group memberships: Members
Show profile · Link to this post
Subject: Info Page
Version upgrading in progress ... please wait until the correct files are in place. Mean time check out http://www.slotteconsulting.com/files/unb/info/


Plug-in name:           Info Page
Plug-in version:        1.2 (25.6.2006)
Plug-in description:    Adds an info page to UNB.
Author:                 Kim Slotte, Slotte Consulting
                        kim at slotteconsulting.com
                        www.slotteconsulting.com
Compatiblity:           unb.stable.1.6 or later
                        unb.devel.20051221 or later
Download:               info_20060625.zip
Credits to:             famfamfam.com for the icon used
                        Rumbelstilzchen and H. Humpel for german translation
Licence:                Please include a link back to this page in your credits if you
                        distribute this plug-in as such or as a derivative work.

This plug-in gives you a possibility to add a separate navigation tab with information about your board. For example information like rules, help files and other useful instructions. The info pages actually consist of posts which you as an administrator have to configure in the board settings. You can configure the order and category in which posts are shown.

Access rights aren't checked when a post is shown on the info pages.That makes it possible to create and plan your pages in a hidden forum. Hidden in that aspect that ordinary users does not see the threads. You can hide forums and threads in the ACL. Administrators and moderators can use info page threads to discuss and plan the content. Only the first post in a thread used is shown as an info page. Additionally you can hide the info page from guests

Feel free to give comments and make modifications ...
   
Screenshot, version 1.2
[Image: http://www.slotteconsulting.com/files/unb/info/info_shot_small.jpg]

Installation instructions

1. Unzip and copy files to your UNB folder as following:
  • info.en.php -> [UNB root]/unb_lib/plugins/
  • info.de.php    [UNB root]/unb_lib/plugins/
  • info.inc.php -> [UNB root]/unb_lib/plugins/
  • info.php -> [UNB root]/unb_lib/plugins/
  • info.html -> [UNB root]/unb_lib/designs/modern/tpl
  • nav_info.png -> [UNB root]/unb_lib/designs/modern/img

2. Configure the plugin.
  • Create your threads that will be used as info pages.
  • Write the threads ids down, you'll find them in the URL when you have opened a thread.  
  • Login with administrator priviledges and go to Settings -> Plug-ins.
  • Click on Settings for the plug-in named info.
  • Write in the thread and category order.

3. (Optional) Use htaccess to get nice URLs
Add these rows at your htaccess file as last RewriteRule row:
# Add custom short URLs here:
RewriteRule ^info(;(.*))?$ forum.php?req=info&rewrite=$2 [L,QSA]

Features planned in next releases
  • Edit post through the info pages
    • 1) with easy link that jumps to editing the source post.
    • 2) editing mode built inside the plug-in
  • Implement "wiki history" tracking
  • ACL implementation
  • Search functionality
    • Integration with the board search?
      • some type of type parameter (=info) is needed 

Version history
  • 1.0 RC (30.1.2006)
    • Initial functional version
  • 1.0 (7.3.2006)
    • Added icon to navigation link
    • Devel branch support
  • 1.2 (25.6.2006)
    • German translation and guest control added to package
    • Tab header name can be changed in ACL
Info Page plug-in | My business | My forum
This post was edited 31 times, last on 2006-06-28, 20:07 by Einstein.
Avatar
Einstein #2
Member since Dec 2005 · 68 posts · Location: Turku, Finland
Group memberships: Members
Show profile · Link to this post
Uebertragen im Deutsch auf H. Humpel .. TODO: Please verify my german in this header ;)

Dieses Plug-In gibt dir die Möglichkeit ein selbstständiges/individuelles Navigationtab  mit Informationen zu deinem Board hinzuzufügen.  Zum Beispiel Informationen wie Regeln, Hilfsdateien und andere nützliche Informationen.
Die Informationsseiten bestehen aus Boardeinträgen welche du als Administrator in den Boardeinstellungen festlegen/anlegen/konfigurieren musst.
Die Reihenfolge der Beiträge und Kategorien, die auf dieser Seite angezeigt werden, kannst du als Administrator kannst festlegen.

Zugangsrechte werden der einzelnen Beiträge nicht geprüft, die auf den Informationsseiten gezeigt werden. Das macht es möglich, die Seiten in einem versteckten Forum zu erstellen und zu planen.
Versteckte Foren heißt in diesem Zusammenhang, dass normale Benutzer, die Foren nicht sehen können.
Ein verstecktes Forum kannst du im Administrationspanel über den ACL-Editor anlegen und verwalten.
Administratoren und Moderatoren können die Beiträge, auf denen sich die Info-Seiten zusammensetzen, diskutieren und planen. Nur die ersten Einträge in einem benutzten Beitrag werden auf der Info-Seite angezeigt. Zusätzlich kann die Informationsseite generell für Gäste.

Du kannst Kommentare hinterlassen und Veränderung am Plug-In vornehmen.

Installationsanweisung

1. Entpacke das Archiv und kopiere die enthaltenen Dateien in dein UNB-Oderner auf deinem FTP-Server wie unten beschreiben.
  • info.en.php    [UNB root]/unb_lib/plugins/
  • info.de.php    [UNB root]/unb_lib/plugins/
  • info.inc.php    [UNB root]/unb_lib/plugins/
  • info.php    [UNB root]/unb_lib/plugins/
  • info.html    [UNB root]/unb_lib/designs/modern/tpl
  • nav_info.png    [UNB root]/unb_lib/designs/modern/img

2. Konfiguration des Plug-Ins
  • Erstelle einen Beitrag der für die Info-Seiten benutzt werden soll.
  • Schreibe oder kopiere die Adresse des Beitrages, du wirst sie in der URL finden, wenn du einen Beitrag öffnest.
  • Melde dich im Board als Administrator an und gehe zu "Einstellungen -> Plug-Ins".
  • Klick auf 'Einstellungen' für das Plug-In das 'info' heist.
  • Schreibe in den Pfad und die category Reihenfolge.

3. (Optional) Nutze die .htaccess-Datei um kurze URLs zu bekommen.
# Add custom short URLs here
RewriteRule ^info(;(.*))?$ forum.php?req=info&rewrite=$2 [L,QSA]
Info Page plug-in | My business | My forum
This post was edited 6 times, last on 2006-06-25, 08:57 by Einstein.
Rumbelstilzchen #3
Member since Sep 2005 · 137 posts
Group memberships: Members
Show profile · Link to this post
At first it is a very nice Plugin, that I'm going to Integrate.

Ther is only one minor bug: I downloaded both your Plugin and the newest devel of UNB. But then it says that the wrong version is installed. So I had to delete the line with Version Information and now your Plugin works fine.

Will it be Possible to view Posts in the InfoPage, which are shown nowhere else.

What happens if I disallowed some users to read some Posts in the Forum, will they be visible in the Info-Page?
Jugendkreis
petrosilius.de
TimoGoebel #4
Member since Nov 2005 · 20 posts · Location: Germany
Group memberships: Members
Show profile · Link to this post
What happens if I disallowed some users to read some Posts in the Forum, will they be visible in the Info-Page?
Yes, I think they will.

If you still look for an icon, i would suggest using [Image: http://apfelschock.de/unb_lib/designs/modern/img/nav_book.png] from the famfamfam.com Silk Icon set.
Avatar
Yves (Administrator) #5
User title: UNB developer & webmaster
Member since Jan 2004 · 3855 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post #3
Quote by Rumbelstilzchen:
Ther is only one minor bug: I downloaded both your Plugin and the newest devel of UNB. But then it says that the wrong version is installed. So I had to delete the line with Version Information and now your Plugin works fine.

Ehm yes.
@Einstein: You need to add one version definition for each branch, of which there are two: stable and devel. The plug-in as above (20060130) will only work with stable versions. (Currently, the latest release is stable.1.6.1 anyway. :)) I should clarify the documentation, if there is any at all by now...

Will it be Possible to view Posts in the InfoPage, which are shown nowhere else.

What happens if I disallowed some users to read some Posts in the Forum, will they be visible in the Info-Page?

As I understood, and read the code, there is no access checking to display the info pages. Einstein himself suggested to globally hide the forum containing the info page threads for members so that they can only be read through the info page plug-in. Mods/Admins can then edit and privately discuss these posts in the attached threads.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Rumbelstilzchen #6
Member since Sep 2005 · 137 posts
Group memberships: Members
Show profile · Link to this post
Quote by Yves:
As I understood, and read the code, there is no access checking to display the info pages. Einstein himself suggested to globally hide the forum containing the info page threads for members so that they can only be read through the info page plug-in. Mods/Admins can then edit and privately discuss these posts in the attached threads.

Very nice, that's exactly the way I wanted to have it. :-)
Jugendkreis
petrosilius.de
Avatar
Einstein #7
Member since Dec 2005 · 68 posts · Location: Turku, Finland
Group memberships: Members
Show profile · Link to this post
In reply to post #5
Quote by Yves:
Ehm yes.
@Einstein: You need to add one version definition for each branch, of which there are two: stable and devel. The plug-in as above (20060130) will only work with stable versions. (Currently, the latest release is stable.1.6.1 anyway. :)) I should clarify the documentation, if there is any at all by now...
OK, I was a sceptic if I changed it the correct way ... that's why the version is still an RC ;).
Info Page plug-in | My business | My forum
Avatar
Einstein #8
Member since Dec 2005 · 68 posts · Location: Turku, Finland
Group memberships: Members
Show profile · Link to this post
In reply to post #6
Quote by Rumbelstilzchen:
Quote by Yves:
As I understood, and read the code, there is no access checking to display the info pages. Einstein himself suggested to globally hide the forum containing the info page threads for members so that they can only be read through the info page plug-in. Mods/Admins can then edit and privately discuss these posts in the attached threads.

Very nice, that's exactly the way I wanted to have it. :-)
I editied the first post to make it more clear.
Info Page plug-in | My business | My forum
Avatar
Einstein #9
Member since Dec 2005 · 68 posts · Location: Turku, Finland
Group memberships: Members
Show profile · Link to this post
In reply to post #1
Quote by Einstein on 2006-01-30, 14:13:

Plug-in name:           Info Page
Plug-in version:        1.0 (7.3.2006)

New release ... 1.0
Info Page plug-in | My business | My forum
Rumbelstilzchen #10
Member since Sep 2005 · 137 posts
Group memberships: Members
Show profile · Link to this post
In the version history it should be 2006 instead of 2005 - it could be confusing
Jugendkreis
petrosilius.de
Avatar
Einstein #11
Member since Dec 2005 · 68 posts · Location: Turku, Finland
Group memberships: Members
Show profile · Link to this post
Quote by Rumbelstilzchen:
In the version history it should be 2006 instead of 2005 - it could be confusing
:nuts: years go by so fast  8-( fixed ;)
Info Page plug-in | My business | My forum
Avatar
andré #12
User title: ratsuchender
Member since Mar 2005 · 124 posts · Location: Erfurt / Germany
Group memberships: Members
Show profile · Link to this post
ich moechte mich entschuldigen das ich hier in deutsch reinschreibe, aber meine englische schreibweise ist leider ziemlich schlecht.

ich habe eine deutsche version von diesem plug-in (kommentare und beschreibungen in allen dateien) angefertigt, bitte aber jemanden, nochmal einen blick auf die uebersetzung zu werden.

//edit
ich denke das hier noch einige fehler enthalten sind, da nach der installation des plug-ins die umlaute und sonderzeichen nicht mehr korrekt dargestellt werden. ich habe die angehaengte datei entfernt.
ich bitte vielmals um entschuldigung.  :blush:
This post was edited on 2006-03-27, 02:26 by andré.
Avatar
Einstein #13
Member since Dec 2005 · 68 posts · Location: Turku, Finland
Group memberships: Members
Show profile · Link to this post
Quote by andré on 2006-03-27, 01:17:
ich habe eine deutsche version von diesem plug-in (kommentare und beschreibungen in allen dateien) angefertigt, bitte aber jemanden, nochmal einen blick auf die uebersetzung zu werden.
Can you post your german translation files? I can add them into the package and add your name into the credits list.
Info Page plug-in | My business | My forum
Avatar
Yves (Administrator) #14
User title: UNB developer & webmaster
Member since Jan 2004 · 3855 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post #12
Quote by andré on 2006-03-27, 01:17:
ich habe eine deutsche version von diesem plug-in (kommentare und beschreibungen in allen dateien) angefertigt, bitte aber jemanden, nochmal einen blick auf die uebersetzung zu werden.

Jo, zeig doch mal her, zum Durchlesen.

ich denke das hier noch einige fehler enthalten sind, da nach der installation des plug-ins die umlaute und sonderzeichen nicht mehr korrekt dargestellt werden. ich habe die angehaengte datei entfernt.

Das Problem hab ich heut in nem anderen Thread gefunden und erklärt. Ich vermute, dass eine der PHP-Dateien einen BOM enthält (siehe Translation documentation für Details). Ich hab noch keinen genaueren Blick drauf geworfen, ob es am Plug-In selbst liegt, wenn nicht, wird es deine Datei gewesen sein.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Rumbelstilzchen #15
Member since Sep 2005 · 137 posts
Group memberships: Members
Show profile · Link to this post
Soderle da ich das Plugin auch übersetzt habe und bei mir auch die Umlaute funktionieren werd ichs mal anhängen.

Attached you see a german translation for this Plugin
Jugendkreis
petrosilius.de
The author has attached one file to this post:
info.de.php 284 Bytes
You have no permission to open this file.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page:  1  2  next 
Go to forum
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Page created in 266.8 ms (216.5 ms) · 142 database queries in 130.5 ms
Current time: 2013-05-25, 09:15:25 (UTC +02:00)