Custom Action Mod

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

Previous topic - Next topic

cme1st2302

IS this going to be updated to work with 1.1.6?
SMF Version: 1.1.11
SimplePortal Version: 2.3.2

Admin

He who waits for perfect conditions sees nothing!!
If you need help adding a button or tab PM me!!

Rumbaar

Quote from: cme1st2302 on September 09, 2008, 09:21:16 AM
IS this going to be updated to work with 1.1.6?
Works perfectly fine with my 1.1.6 forum.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

cme1st2302

I am confused.  The test fails in the package manager on modSettings.php.  I checked for all the code that it has to replace and it is all there.  Why is it failing the test???
SMF Version: 1.1.11
SimplePortal Version: 2.3.2

Admin

He who waits for perfect conditions sees nothing!!
If you need help adding a button or tab PM me!!

Rumbaar

It has to be exact, and if it's failing in that single file, you can add the code manually.  Having a single test failed issue doesn't mean it wont work, just means a single (or more) piece of code it needs to find to perform an automated installation isn't there.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

cme1st2302

I went to the package parser and copied the code exactly from there and did a search for it in the file.  Every one of them was found.  I will most likely just install it anyway and see if it works.
SMF Version: 1.1.11
SimplePortal Version: 2.3.2

Admin

He who waits for perfect conditions sees nothing!!
If you need help adding a button or tab PM me!!

Rumbaar

Yes, just check and make sure the code is all there.  If not just add and you'll be fine.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

cme1st2302

#346
:D Thanks for your help Rumbaar!!! :D


One more question.  Where are the files that you create saved at?
SMF Version: 1.1.11
SimplePortal Version: 2.3.2

Admin

He who waits for perfect conditions sees nothing!!
If you need help adding a button or tab PM me!!

Rumbaar

You're welcome,

Also please edit your post instead of double posting, and also search this thread it has been covered a number of times where the data is stored for each version of SMF.
Quote from: winrules on April 23, 2008, 03:24:19 PM
If you are using SMF 1.1 they are stored in the settings table in the database. If you are using SMF 2.0 they are stored in the custom_actions table.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Don Pepito

I want to implent this mod to my site, working as it is written in custom installation for 1.1.6 tutorial, but i cannot find Sources/ManageSettings.php  :D
Any help...??

mrbolsonator

I want to add a wiki to my site. It would involve a page with a search box that links to term pages....like wikipedia but specifically for alternative fuels.

www.fuelcrazyamerica.com

is this possible?

Rumbaar

Quote from: Don Pepito on September 25, 2008, 08:27:44 AM
I want to implent this mod to my site, working as it is written in custom installation for 1.1.6 tutorial, but i cannot find Sources/ManageSettings.php  :D
Any help...??
You are using the 2.x version, please use the 1.1.x version for your 1.1.x version of the forum.

The custom action can be any custom code you want, either HTML, BBC or PHP.  So if you've got a page written you can put it in there as a custom action.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Sakae

Hey all, good morning (at least here and at this time LOL)

I would like to change the THEME for one custom action (action=podcast, theme Musiconia... see where it's going?).

How?
http://www.tigrelog.com.br
l: simple p: machines

ameo

In your Admin CP if you click under Configuration - Features and options you shall find Custom actions in second row. Right next to basic features.
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

Rumbaar

Not possible with the current coding of the mod.  As the theme is loaded before the custom action is called and by then I'm sure it's too late.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

KillerZ

Is there any way to allow blocks to show on the custom made pages using this. I have changed some things to get the custom action to show up in my choose where to be visible section for editing blocks but can only get top blocks to show up on the the custom made page. I am trying to create custom pages and assign blocks to only the custom page. I am using smf 1.1.6 and tp 1.0.5 thanks for any help.

Rumbaar

As for custom blocks, you might want to search over at TP for tips/tricks relating to the mod and a block.  I know on many occasions I've found a block code to meet my needs when dealing with addon mods.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

KillerZ

Its not a custom block that Im trying to add. Its a custom page(which the mod allows you to do) except I want blocks such as recent topics or stats box or a script box to show only on this custom page. I can get it to work for the top blocks fine. I edited the TPortalAdmin.template.php(which i know is not smf) in the place where it show the extended visible options and got the custom page action to show up on the settings where I can choose what page I want the block to be seen on or all of them. But I can't get it to let me show blocks on the right or left of these custom actions(pages) If I set them to the top or upper blocks they show but won't show on the sides. Why can side panels not show on the custom action, or as I would call them pages?

Rumbaar

Well the functionality of blocks isn't part of the Custom Action Mod, so I think you need to direct those kind of questions to the TP support forum.  You'll most likely have to create a block for each action and mark it to show on that key action, in the block options.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

KillerZ

Thats what I have done, but the blocks assigned to show in that action if set to the right or left panels do not show. They will show if set to the top panel only? I know that it is a TP question mostly but I was just wondering why this mod will make pages that have visible top panels but not sides, and if there is some way to change that so it shows the side panels? I hoped to be able to use the mod as it creates the page like I want but just creates a page that doesn't have side panels, why is that? What is the blank page it makes a replica of, the forum page with the forum removed? I only ask this because I can't make blocks visible on my forum page either if set to the side panels, only the top panel, I just wondered if there was some way to change the mod to make a page the same as the frontpage on my TP site with all the blocks visible if something is set in them?

Rumbaar

The display and functionality of TP and it's block with the interaction of any pages or custom action pages is purely a TP related issue.  Please search TP forums, as I found all the answer you seek regard blocks and custom actions when I had the similar issues on my forums.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: