Topic as link

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 27919
Joined: Sat Aug 16, 2003 7:36 am

Topic as link

Post by Extensions Robot » Sat Feb 27, 2010 6:03 am

Modification name: Topic as link
Author: Senky
Modification description: This MOD will allow users to post topic which will be only a link. After click to view the topic, user will be redirected to specified url. Moderators have special option to view this topic (for editing).

You can fork it on github and help with develop ;) .

https://github.com/Senky/pm-topic-as-link
Modification version: 1.0.1
Tested on phpBB version: 3.0.9

Download file: topic_as_link 1.0.1.zip
File size: 34.95 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Mar 27, 2017 3:09 pm, edited 12 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17003
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Topic as link

Post by DavidIQ » Sat Feb 27, 2010 6:03 am

Modification validated/released

Notes:
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

Senky
Extension Customisations
Extension Customisations
Posts: 2108
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Topic as link

Post by Senky » Sat Feb 27, 2010 6:03 am

This post has been reserved for the MOD author.

Kendy.9xvn
Registered User
Posts: 14
Joined: Mon Dec 28, 2009 4:20 pm

Re: Topic as link

Post by Kendy.9xvn » Sun Feb 28, 2010 4:56 am

Is there any demo here? I don't remember clearly about this mod!

Senky
Extension Customisations
Extension Customisations
Posts: 2108
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Topic as link

Post by Senky » Sun Feb 28, 2010 12:30 pm

Well, I have no demo and it is quite difficult to explain what the mod is about. Simply - like a forum can be link, this mod will add an option to topic be a link. I will do some demo, soon...

User avatar
PinoyEngine™
Registered User
Posts: 244
Joined: Fri Apr 24, 2009 7:12 am

Re: Topic as link

Post by PinoyEngine™ » Sun Feb 28, 2010 3:32 pm

thanks for this very functional mod.

btw, are links do-follow? or still redirect link?

thanks.

Senky
Extension Customisations
Extension Customisations
Posts: 2108
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Topic as link

Post by Senky » Sun Feb 28, 2010 6:44 pm

PinoyEngine™ wrote:...are links do-follow? or still redirect link?...
Sorry, but I do not know what you mean, could you explain it more?

net83it
Registered User
Posts: 500
Joined: Sun Jan 15, 2006 2:42 pm
Location: Sicily
Contact:

Re: Topic as link

Post by net83it » Mon Mar 01, 2010 5:39 pm

very great mod. i asked for this feature when phpbb 3.00 was released and finally it is here :D

is it possibile to open links in a new window (target blank)?
thank you

Senky
Extension Customisations
Extension Customisations
Posts: 2108
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Topic as link

Post by Senky » Mon Mar 01, 2010 8:02 pm

Probably not, because redirect s done in viewtopic.php by php, not html. But I can include it in new version...

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: Topic as link

Post by kber » Tue Mar 02, 2010 10:21 am

is it working with 3.0.7 ?
and what about the subsilver2 based styles ?
Hello All

Senky
Extension Customisations
Extension Customisations
Posts: 2108
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Topic as link

Post by Senky » Tue Mar 02, 2010 12:53 pm

kber wrote:is it working with 3.0.7 ?
Not tested yet...
kber wrote:and what about the subsilver2 based styles ?
I do not like subsilver2, so my MODs are not made for this styles. The only chance is when someone else will do it...

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: Topic as link

Post by kber » Wed Mar 03, 2010 10:56 am

Report : Working With 3.0.7

Subsilver2 Install :

Open posting_body.html

Find

Code: Select all

<!-- IF S_BBCODE_ALLOWED -->

<tr>
	
<td><input type="checkbox" class="radio" name="disable_bbcode"{S_BBCODE_CHECKED} /></td>

<td class="gen">{L_DISABLE_BBCODE}</td>
	
</tr>
	
<!-- ENDIF -->
After Add

Code: Select all

<tr>
	
<td><input type="checkbox" class="radio" name="topic_url"{S_TOPIC_URL_CHECKED} /></td>

<td class="gen">{L_TOPIC_URL}</td>
	
</tr>
Open Viewforum_body.html

Find :

Code: Select all

<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
					{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
After Add

Code: Select all

<!-- IF topicrow.U_MOD_VIEW_TOPIC -->&nbsp;<a href="{topicrow.U_MOD_VIEW_TOPIC}">{L_VIEW_TOPIC_URL_MOD}</a><!-- ENDIF -->

Find

Code: Select all

<td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.TOPIC_AUTHOR_FULL}</p></td>

<td class="row1" width="50" align="center"><p class="topicdetails">{topicrow.REPLIES}</p></td>

<td class="row2" width="50" align="center"><p class="topicdetails">{topicrow.VIEWS}</p></td>

<td class="row1" width="140" align="center">
	
<p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p>

<p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL}

<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->

</p>
	
</td>
Replace with

Code: Select all

<!-- IF not topicrow.U_MOD_VIEW_TOPIC -->
<td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.TOPIC_AUTHOR_FULL}</p></td>

<td class="row1" width="50" align="center"><p class="topicdetails">{topicrow.REPLIES}</p></td>

<td class="row2" width="50" align="center"><p class="topicdetails">{topicrow.VIEWS}</p></td>

<td class="row1" width="140" align="center">
	
<p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p>

<p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL}

<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->

</p>
	
</td>
<!-- ENDIF -->
Hello All


User avatar
LiquidSpark
Registered User
Posts: 146
Joined: Thu Mar 29, 2007 6:54 pm

Re: Topic as link

Post by LiquidSpark » Wed Mar 03, 2010 10:05 pm

Works well with 3.0.7, thanks!

I suggest using a new prosilver/subsilver topic icon for links, as the forum links use. How would I use the forum link icon in place of the topic link icon?

Senky
Extension Customisations
Extension Customisations
Posts: 2108
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Topic as link

Post by Senky » Thu Mar 04, 2010 1:46 pm

LiquidSpark wrote:...I suggest using a new prosilver/subsilver topic icon for links, as the forum links use. How would I use the forum link icon in place of the topic link icon?
Great idea! For not it is quite difficult to do, but wait until the next version...

Locked

Return to “[3.0.x] MOD Database Releases”