• Welcome to Simple Machines Community Forum. Please login or sign up.
January 16, 2022, 06:12:14 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

KillerZ

Thanks for the help. I finally got it late last night after beating my head off the desk for a week. :D I could try to explain it but don't know if I have the vocabulary for such an explaination. Thanks again for the info and help.

fermachado

Hi,

It's possible use this mod to put the photopost whit the header and footer of smf.

I have a integration whit smf and photopost. users and styles works good,but I want the photospost to open inside of smf.

Like this http://www.enfoca2.com/galeria/

Sorry my english

ryozo

is this mod be able to put custom action into the homepage/frontpage itself?
home is something like www.abc.com/qwerty/index.php

thanks!

Rumbaar

@fermachado Haven't used that, but if you're able to include the custom action as written PHP code I'm sure you could include it.  But I doubt it would be a straight forward as that and would require a number of path and source rewrites on that applications behalf.

@ryozo  The custom actions will only be access through the forum and index.php file.  So if I read you right, then no you wont be able to use it on your homepage/frontpage.  Unless you're using SMF as this via a portal mod.
"An important reward for a job well done is a personal sense of worthwhile achievement."


[ Themes ]

ryozo


wakewatcher

Has anyone tried this with smf 2b4?
smf 2.0.18

tyhgdgh

I tried this, it wont work correctly in 1.1.7, heres my modsettings.php

Rumbaar

I have 1.1.7 and this mod works 100% without error or issue.
"An important reward for a job well done is a personal sense of worthwhile achievement."


[ Themes ]

tyhgdgh

for me, it wont show the actions tab in features and settings, if thats where it goes

Rumbaar

Well when you install the mod you got Test Failed errors and you proceed anyway?  Put the mod through the parser and make the manual edits to the that file, and other file that Test Failed, and you should be set.
"An important reward for a job well done is a personal sense of worthwhile achievement."


[ Themes ]

tyhgdgh

i did a manual edit, still nothing, the item that failed was the modsettings.php

Rumbaar

Well you didn't edit it correctly, go back and check that all the code that should be in there is in fact in there.
"An important reward for a job well done is a personal sense of worthwhile achievement."


[ Themes ]

REHK

December 21, 2008, 04:03:32 AM #372 Last Edit: December 21, 2008, 04:07:32 AM by REHK
Hi ive just installed custom action3 on smf 2.0, ive use this mod on 1.17 no problem but i can get the new version to do ******! When i click the new mwnu tab it creates i just get the board. Could someone please post a screenshot of their custom action admin screen with all the code in so I can see what I should be putting where, many thanks, I'm sure this will help many people.

e.g. A screen shot like this but filled in with an actual working action so I can use to test and then modify for my own custom page, thanks


JaGuR

Great mod ..... Thanks very much,

makes modifying the smf platform so much easier

:D

brelwit

In the CUSTOMS ACTION mod located in the "Features and Options" Admin page, how do I increase the maximum characters that the Code Textarea Field can accomodate?  I've already increased the maximum capacity of the Value field in the SMF_SETTINGS Table by changing it to MEDIUMTEXT instead of just TEXT but my text input is still being chopped.

Polymath

* I don't suffer from insanity; I enjoy every minute of it. *
F.I.G.J.A.M

Vandaahl

Quote from: wakewatcher on December 09, 2008, 09:23:12 PM
Has anyone tried this with smf 2b4?

Yes sir, and it works beautifully on my 2.0 beta 4 installation! Remember to manually edit your language files though if you don't use English as your board language.

Hj Ahmad Rasyid Hj Ismail

January 21, 2009, 02:34:53 PM #377 Last Edit: January 21, 2009, 02:48:23 PM by ahrasis
I am using membergroup on registration but I only want the invited people to register to certain one membergroup at a time.

For instance if I want to create custom action registermu so that registration through that custom action will only allow member to join Manchester United membergroup. Then, I want to create custom action registerlpl so that registration through that custom action will only allow member to join Liverpool membergroup. And other group etc...

The purpose is that when member is invited with the respective custom action registration link, they can only see and choose to join the given group only rather then seeing the whole group available.

Btw, since the currently custom action page is not viewable by guests, I may need to be change as well so guest can see and register through this page.

Can anybody help me on this? I am using smf 1.1.7. I attached here my register.php file.

Rumbaar

You're after a custom code to allow for URL to only allow for a single membergroup option.  Which isn't really the realm of support for the mod, as the mod is working for you.

You'll need to try a Mod Request, or the SMF Coding area for that kind of assistance.
"An important reward for a job well done is a personal sense of worthwhile achievement."


[ Themes ]

Hj Ahmad Rasyid Hj Ismail


Advertisement: