• Welcome to Simple Machines Community Forum. Please login or sign up.
December 05, 2021, 09:05:48 AM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Custom Action Mod

Started by Norv, May 09, 2006, 08:35:29 PM

Previous topic - Next topic

L.G.S

Woa that's nice, any chance of posting the code you used to have the BG etc?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Harzem

uhm, what are you calling as BG? (back-ground?)

Jorin

Don't know what L.G.S. means with BG, but I'm also interested in the code you are using, HarzeM. How did you made the changes to the right table, did you use html and frames?

@winrules: Any idea about my error messages? Am I the only one with this error messages using this great mod?

Dannii

subactions (as well as any other $_GET variable) can easily by accessed with PHP. Although obviously not with only html or BBCodes.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Jorin

Thanks a lot, but this doesn't help me a lot  :-[

Need some examples to learn  ;)

L.G.S

Quote from: HarzeM on May 18, 2006, 05:56:56 PM
uhm, what are you calling as BG? (back-ground?)

Sorry I run a GFX forum so I'm used to posting bg ;D

Yes I mean background
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


jimbo21

WOW great mod. I have already put it to use in my forum.
http://www.talk-baseball.com/index.php?action=MLB [nofollow]
I just created and HTML page and put to code into a custom action. Works perfect. Thanks!

uberjon

May 19, 2006, 01:30:03 PM #67 Last Edit: May 19, 2006, 01:35:42 PM by uberjon
basicaly this mod imo should be standard on smf because its so useful :D

i love it. well basicaly i love winrules because i know am proud to say i use 2 of his mods on my forum ^^

yo winrules if you would add a board to your forum for this mod. il post some of my example pages in code for people to use.

i searched the web for html templates to make nifty looking pages to use with this and they own ^^

:EDIT:

um. can u make a remove box in next verxsion? so it dont take up room in admin cp :P

winrules

Quote from: nehcregit on May 19, 2006, 02:33:21 AM
Don't know what L.G.S. means with BG, but I'm also interested in the code you are using, HarzeM. How did you made the changes to the right table, did you use html and frames?

@winrules: Any idea about my error messages? Am I the only one with this error messages using this great mod?
With the error messages, In the code you added for the button, $txt[rules] should be $txt['rules'].


Quote from: uberjon on May 19, 2006, 01:30:03 PM
basicaly this mod imo should be standard on smf because its so useful :D

i love it. well basicaly i love winrules because i know am proud to say i use 2 of his mods on my forum ^^

yo winrules if you would add a board to your forum for this mod. il post some of my example pages in code for people to use.

i searched the web for html templates to make nifty looking pages to use with this and they own ^^

:EDIT:

um. can u make a remove box in next verxsion? so it dont take up room in admin cp :P
OK i'll do it. There will be a remove action button in the next version.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Jorin

Quote from: winrules on May 19, 2006, 03:51:54 PM
Quote from: nehcregit on May 19, 2006, 02:33:21 AM
@winrules: Any idea about my error messages? Am I the only one with this error messages using this great mod?
With the error messages, In the code you added for the button, $txt[rules] should be $txt['rules'].

That's all?  :-[ Thanks a lot!  :)

uberjon

seems i found a small bug in the action mod :;(

when i try to copy alot of html into the box it does it just fine but when i save it it deletes the last part to make it all fit or somethig :S

just ignore the content in this just to show u how long it is :P

er... nvm wont let me post
QuoteThe following error or errors occurred while posting this message:
The message exceeds the maximum allowed length (65530 characters).

it works well in a program i am using to help me with the html.. but it deletes part of it when i try to use it :'(

can u fix this?

winrules

Quote from: uberjon on May 20, 2006, 04:59:16 PM
seems i found a small bug in the action mod :;(

when i try to copy alot of html into the box it does it just fine but when i save it it deletes the last part to make it all fit or somethig :S

just ignore the content in this just to show u how long it is :P

er... nvm wont let me post
QuoteThe following error or errors occurred while posting this message:
The message exceeds the maximum allowed length (65530 characters).

it works well in a program i am using to help me with the html.. but it deletes part of it when i try to use it :'(

can u fix this?
It's not a bug, it's that the database column is a TEXT column, which limits the data to 65535 characters. If you want to use this mod with a something longer than that, you will have to set the "value" column in the settings table to MEDIUMTEXT or LONGTEXT.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


winrules

Version 2.0 has been released! This version adds an option to delete actions, and adds sub-actions.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


mforum

What is an sub-action ?  ???

Dannii

"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

gerrymore

Has anyone tried this mod with Tiny Portal yet?
SMF RC1, Tiny Portal 0.75, Coppermine 1.3.3, Flashchat.

winrules

Quote from: gerrymore on May 22, 2006, 05:32:09 PM
Has anyone tried this mod with Tiny Portal yet?
I use tinyportal, too. It should work just fine.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Niteblade

June 04, 2006, 11:36:35 AM #77 Last Edit: June 04, 2006, 12:59:38 PM by nite0859
omg.

*sings praises for this mod*

Now, how do I associate the custom action with a description in the 'Who's Online' ... Right now, it says "unknown action"

I also created a button for my custom action. However, click on the button does not highlight the background of the button itself; instead the 'Home' button becomes highlighted. My custom button does work for my custom action, but the button does not visually indicated that it is the one activated.

If you would, you could come to my forum and click on the shop button to see what I'm talking about. (See signature).
affiliate blog

winrules

Did you use the tutorial in the graphics board? It looks like you skipped step number 1. As for the who's online thing, look here: http://www.simplemachines.org/community/index.php?topic=89923.0
I will also implement that functionabillity into the next version of the mod.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Niteblade

June 04, 2006, 02:07:54 PM #79 Last Edit: June 04, 2006, 02:09:36 PM by nite0859
Quote from: winrules on June 04, 2006, 01:21:56 PM
Did you use the tutorial in the graphics board? It looks like you skipped step number 1. As for the who's online thing, look here: http://www.simplemachines.org/community/index.php?topic=89923.0
I will also implement that functionabillity into the next version of the mod.

Yes; thank you.

And by the way, the link is here for making sure the background of the button indicates that the button is activated. The "Step 1" that was mentioned in the quote of this post.

Cheers.
affiliate blog

Advertisement: