It is currently May 10th, 2024, 2:50 am



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Change host order. Add text / BBCode / HTML for links.
PostPosted: October 1st, 2018, 7:58 pm 

Joined: December 30th, 2013, 3:54 pm
Posts: 319
Hey
Righ now we only have one option that is {#links#}

It leaves us almost no options to rearrange beside using regex.

Lets say I want to code my links, change filehost order, paste one filehost at the bottom the other at the top, add some text before urls etc

We need to use regex.

What I would suggest is giving each filehost their own tag like:{#RapidGator#} {#Nitroflare#}

Doing that we can just simply paste it in template like we want.

[ code]{#RapidGator#}[/code]

or

Some TEXT <a href="{#RapidGator#}">

What do you think?

Best Regards


Top
 Profile  
Reply with quote  
 Post subject: Re: Assign filehosts their own tag
PostPosted: October 1st, 2018, 8:01 pm 

Joined: December 30th, 2013, 3:54 pm
Posts: 319
nvm I think I already found it


Top
 Profile  
Reply with quote  
 Post subject: Re: Assign filehost their own tag
PostPosted: October 1st, 2018, 8:05 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12654
Location: Earth
You don't need to use regex. You can already do everything which you wrote in template settings.

To change hosts order you can move hosts in "HOSTS" tab (mentioned in FAQ as well: http://creator.freddy.lt/faq.php?expand=faq104)

Check: "links" template. It even has a tip at the top, that you can add any text before links. By default it says: "Download from {#linksHostName#}" where "linkHostName" is host name like "Rapidgator". You can add any text before URLs in that template.

Check: "hostLinks" template. It's for link URL basically. You can add any BBCode or HTML there (even the tip says that). By default it's just "{#linkUrlWithFileName#}", if you want it to be in HTML like you wrote just change to:
Code:
<a href="{#linkUrlWithFileName#}">{#linkFileNameWithExt#}</a>


For "{#linkFileNameWithExt#}" you can use any other tag which you want.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Assign filehosts their own tag.
PostPosted: October 1st, 2018, 8:09 pm 

Joined: December 30th, 2013, 3:54 pm
Posts: 319
You are right I found it a minute after I created this thread. sorry for trouble :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC