Topic: [extension release] Hide urls for guests

http://kierownik.nl/download/bekijk-doc … -v0.1.html

This extension hides urls posted in posts and shows a sentence that asks them to either login or register to see the link.

Report any problems here.

Re: [extension release] Hide urls for guests

Installed and works as described.
Very useful. thanks very much

Re: [extension release] Hide urls for guests

Very nice this release!

Just modified it to "Hide imgs for guests"

This extension hides images posted in posts and shows a sentence that asks them to either login or register to see the link.

You can download it here: hide_imgs_for_guests.7z.zip

But rename it to "hide_imgs_for_guests.7z" because my webserver doesn't allow 7z-files.

May be a combination of both would be great?

Greets,
Meteolab

4 (edited by kierownik 2009-03-12 23:43)

Re: [extension release] Hide urls for guests

I have changed some things that you changed to much smile

you had changed $forum_url to $forum_img but $forum_url holds the re-write urls of the whole forum so if someone would use fancy re-writing that is would not work wink and some more stuff.

I will put the download online later today.

5 (edited by Meteolab 2009-03-13 22:25)

Re: [extension release] Hide urls for guests

Hi kierownik,

oops, thanks, you are right, my naive "mass replacing-procedure" changed too much. Thank you for your feedback!

I'll put the corrected version in the link above

Greets to the Nederlands,
Meteolab

Re: [extension release] Hide urls for guests

For me does not work. Can conflicts with other additions... sad

Re: [extension release] Hide urls for guests

List here the extensions you have got installed.

Re: [extension release] Hide urls for guests

Slavok wrote:

List here the extensions you have got installed.

and the problems you are seeing

Re: [extension release] Hide urls for guests

esupergood wrote:
Slavok wrote:

List here the extensions you have got installed.

and the problems you are seeing

List of my extensions
http://slil.ru/27115588

After install nothing takes place. 
Urls are accessible to the guests and users.

Re: [extension release] Hide urls for guests

I don't see a list of extensions you are using on the above page.

11

Re: [extension release] Hide urls for guests

esupergood wrote:

I don't see a list of extensions you are using on the above page.

smile I alredy off this extensions. Trust I included him.

12 (edited by YonasH 2009-03-13 15:00)

Re: [extension release] Hide urls for guests

there is link to text file:

Title: Add FAQ and Privacy Policy
Version: 1.1.2
Author: YonasH
Description: Add new fields to Announcements section.
Enabled/Disabled: Enabled

Title: Antispam System
Version: 1.2
Author: PunBB Development Team
Description: Adds CAPTCHA to the register, login and guest post form.
Enabled/Disabled: Enabled

Title: BBCode buttons
Version: 1.2.1
Author: PunBB Development Team
Description: Pretty buttons for easy BBCode formatting.
Enabled/Disabled: Enabled

Title: BBCode Extended
Version: 0.1
Author: Rich Pedley
Description: This extension adds extra BBCode tags.
Enabled/Disabled: Enabled

Title: Change Search.tpl
Version: 1.0.1
Author: kierownik
Description: Now you can edit the search.tpl to change it to what you want.
Enabled/Disabled: Enabled

Title: DivxBBcode
Version: 1.0.0
Author: KeyDog
Description: Adds DivXBBCodes to allow divx embeding on your forum.
Enabled/Disabled: Enabled

Title: Easy Google Analytics
Version: 1.0
Author: Garciat
Description: Allows easy integration of Google Analytics.
Enabled/Disabled: Enabled

Title: Favorite topics
Version: 1.3
Author: YonasH
Description: Let user to assign favorite topics. Users favorite topics are next to sticky ones.
Enabled/Disabled: Enabled

Title: FlvBBcode
Version: 1.0.0
Author: KeyDog
Description: Adds FLV BBCodes to allow FLV embeding on your forum. Users just need to put it URL of file and add the bbCode FLV. Tweaking to parameters see http://www.longtailvideo.com/players/jw-flv-player/
Enabled/Disabled: Enabled

Title: Genders
Version: 1.0
Author: Garciat
Description: Allows users to choose their gender from a custom list.
Enabled/Disabled: Enabled

Title: Gravatars Beta
Version: 0.6
Author: Rich Pedley
Description: WARNING: use at your own risk (written for 1.3 beta) Adds a new profile section for users to link to their Gravatar. Configuration is on the Settings > Features page.
Enabled/Disabled: Enabled

Title: Hide topics
Version: 1.1
Author: YonasH
Description: Let users to hide topics. User can find his hidden topics thru link in profile.
Enabled/Disabled: Enabled

Title: Improved online list
Version: 1.0
Author: YonasH
Description: Add new facilities to online list. Configurable in Administration > Settings > Features.
Enabled/Disabled: Enabled

Title: jQuery (YonasH)
Version: 1.3
Author: YonasH
Description: Adds jQuery scripts to forum. Used in some my extensions.
Enabled/Disabled: Enabled

Title: JS post quote
Version: 2.0
Author: PunBB Development Team
Description: Select the text you want to quote right in the topic view. Click "Quote" for multiple quotes in quick reply form.
Enabled/Disabled: Enabled

Title: List Extensions
Version: 1.0.4
Author: kierownik
Description: This extension lets you generate Your list of extensions that you can post on your forum.
Enabled/Disabled: Enabled

Title: Lock topics
Version: 0.9.5 beta
Author: YonasH
Description: Let moderators to lock selected topics for unruly users.
Enabled/Disabled: Enabled

Title: Login Box On Frontpage
Version: 1.0.0
Author: PunBB Forum
Description: Add The Login Boxes To Frontpage
Enabled/Disabled: Enabled

Title: MP3 Player
Version: 1.0
Author: Extension: downliner Original Script: Yahooooooooo
Description: * Adds audio to your site with one line of HTML * Magical floating design never gets lost, is available when you need it, gets out of your way when you don't need it * Automatically finds all audio links on your page, turning your page into a playlist * Allows you to put the play buttons where they belong: IN CONTEXT * Keeps the user in the page rather than sending them away to a media player * Picks up your images and adds them as cover art
Enabled/Disabled: Enabled

Title: Private Messaging
Version: 1.2.4
Author: PunBB Development Team
Description: Allows users to send private messages. This is the first simple version with minimum functions.
Enabled/Disabled: Enabled

Title: Pun poll
Version: 1.1
Author: PunBB Development team
Description: Adds polls feature for topics.
Enabled/Disabled: Enabled

Title: PunBB 1.3-1.3.2 hotfix for a potential XSS attack via GET-parameter "p".
Version: 1.0
Author: PunBB Development Team
Description: Fixed an potential XSS-attack via GET-parameter "p".
Enabled/Disabled: Enabled

Title: PunBB 1.3–1.3.2 hotfix removing a notice on updates check.
Version: 1.0
Author: PunBB Development Team
Description: Fixed a minor bug leading to a notice on updates check.
Enabled/Disabled: Enabled

Title: PunBB Repository
Version: 1.2.2
Author: PunBB Development Team
Description: Feel free to download and install extensions from PunBB repository.
Enabled/Disabled: Enabled

Title: Quick Search
Version: 1.0.2
Author: daris
Description: Allows quickly search for topics and posts
Enabled/Disabled: Enabled

Title: remove_used_extensions_footer
Version: 1.0
Author: kierownik
Description: This extension removes the extension used in the footer. It may not be nice for the extension makers but not everyone want to let the visitors know what extension they use.
Enabled/Disabled: Enabled

Title: Show links in new window
Version: 1.1
Author: YonasH
Description: Open all links from posts, signatures and user websites in new windows
Enabled/Disabled: Enabled

Title: Show subscriptions
Version: 1.0
Author: YonasH
Description: Let moderators see who subscribed to a topic.
Enabled/Disabled: Enabled

Title: Sitemap Generator
Version: 1.3
Author: Garciat
Description: Allows the forum to generate a standard-complying sitemap.
Enabled/Disabled: Enabled

Title: Slimbox for postimg
Version: 1.0
Author: YonasH
Description: Big post images are displayed in slimbox. Require jquery_y extension (http://rapidshare.com/files/190370698/jquery_y_1.3.zip.html).
Enabled/Disabled: Enabled

Title: Smilies
Version: 1.0
Author: Garciat
Description: Integrates an improved smilies system.
Enabled/Disabled: Enabled

Title: Style Switcher
Version: 1.2
Author: daris
Description: Allows users/guests select style
Enabled/Disabled: Enabled

Title: Subforums
Version: 0.4
Author: Sergey Leschina
Description: Add multilevel subforums
Enabled/Disabled: Enabled

Title: Subject change lock
Version: 1.0
Author: YonasH
Description: Only moderator can change topics subject.
Enabled/Disabled: Enabled

Title: Topics list mod
Version: 1.0
Author: YonasH
Description: Hiding poster, adding topic date and poster to "title".
Enabled/Disabled: Enabled

Title: Userlist Avatar
Version: 1.0.5
Author: kierownik
Description: Adds avatar to the userlist.
Enabled/Disabled: Enabled

Title: VideoTag
Version: 0.2.0
Author: Neck - http://www.eikylon.net
Description: New BBcode tag ([video]) to display embedded flash videos.
Enabled/Disabled: Enabled

Did you install all available extensions? cool


I pretend that there is conflict with my Show links in new window. I will try to check it now.



-------------------------------------------------
I checked it. To be honest I'm not sure how is this construction working:

$return = ($hook = get_hook('ps_handle_url_tag_end')) ? eval($hook) : null;
if ($return != null)
    return $return;

I'm almost sure that it will run until first return. So only one extension can use that kind of hooks.

I'll prepare new version of my Show links in new window soon, which will use jQuery to find all external links and force them to open in new window. Until then you must decide which extension is more important for you, or make your own wink

YonasH's repository + Extensions Directory = PunBB Extensions Online Library (in progress....)

Away. I will be back soon.

Re: [extension release] Hide urls for guests

kierownik wrote:

This extension hides urls posted in posts and shows a sentence that asks them to either login or register to see the link.

Is there a function planned, that admin or moderator can explicitly unlock some hand-selected URLs for guest?

Greets,
Meteolab

14

Re: [extension release] Hide urls for guests

kierownik Given link is not working .Link is broken.

15

Re: [extension release] Hide urls for guests

http://www.mediafire.com/file/h3m93qaao … s_v0.1.zip

16

Re: [extension release] Hide urls for guests

Works like charm! Thanks keyDog!