Customizing SMF > Modifications and Packages
FancyPosts
Inti31:
Hi! it is needed only when using these codes
--- Code: ---[buttonlist][button=http://yourURL.decom/]Link A[/button][button=http://yourURL.com/]Link B[/button][/buttonlist]
--- End code ---
and
--- Code: ---[menu][button active=true url=http://yourURL.com/]Link A[/button][button active=true url=http://yourURL.com/]Link B[/button][/menu]
--- End code ---
I tried
--- Code: ---target => '_blank';
--- End code ---
in different places in Subs-FancyPosts.php but it does not work...
but your idea to use that for certain posts is a good one
maybe internal link should work like it is, external links should open a new windows/tab
Yoshi:
Hi again Inti31, sorry for replying so late.
What about an "external" parameter, which can be set to "tab" or "window"?
Inti31:
Whatever you decide to do ... - yes, why not an "external" parameter...
I thought, that it would be easier to add a "target="_blank" (or sth. similiar) in Subs-FancyPosts.php instead of creating a new parameter.
but that sounds fine to me...
one further suggestion...
would it be possible to use button and buttonlist code also as "inline buttons" (like ILA)?
Example:
text text text - see this homepage: [title of homepage as button] text text
Now it like this:
text text text - see this homepage:
[title of homepage as button]
text text
cheers Inti31
Mstcool:
Can i make it so Members cant use this only staff can?
Please tell me there is no file editing for this. :p
Yoshi:
--- Quote from: Mstcool on July 20, 2012, 01:02:07 AM ---Can i make it so Members cant use this only staff can?
Please tell me there is no file editing for this. :p
--- End quote ---
Sorry, that will require file editing, it's dead simple though, let me check one thing :)
EDIT: I forgot to ask, which membergroups/titles do you want to give permission to use the mod?
Also @ all previous replies: Sorry that I didn't take the changes in account yet, I'll start with those today :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version