please can you tell me if you have any problem with editing post in forum where Add Reply option is disabled?
I see that when I press "Edit" dialog doesn't open, after second press dialog is showed but it looks like editor would be loaded two times. Can you check it ?
I check few things in DataWriter_DiscussonMessage_Post and I set 'moderated' state if something is wrong. I see that even post/thread is set to 'moderated' by changing state in DataWritter methods (example preSave()) the post/thread is visible as "Latest post" in forum list. Please tell me...
what is the best way to get user list with their last IP ?
When i use self::FETCH_LAST_ACTIVITY and
typical query from User Model
' . $joinOptions['selectFields'] . '...
I've created my own router based on XenForo_Route_Interface.
In 'match' method I analyse $request->getRequestUri() and after finding some patterns I return $newRoutePath. (I am trying to translate old links (from old forum based on vB) to XF links)
Morover I extended XenForo_Router. In...
Why doesn't this code:
XenForo_Model::create('XenForo_Model_PermissionCache')->getContentPermissionsForItem($hookParams['user']['permission_combination_id'], 'node', $node_id);
return anything with sense?
Just : view => 1
Parameters are OK of course.
Database has been imported from...
I have to show "confirmation dialog" after click "Add Reply".
If somone click "yes" then I have to add post, if "no" then close dialog.
What is the best way to do that ?
I know that this button doesn't have class "OverlayTriggered" and my template is added to thread view, it doesn't appear...
what should I do if I have to override some method and I can't do it by doing my things and later use $parent::METHOD_NAME;
Example I would like to modificate some foreach in method... what is the best pracitse ?
Is there any better way than repeat some code fragment or override parent method?
I have to add captcha veryfication for some users before they send message in discussion.
What is the best way to do that?
I think I will use captcha from XenForo (which is used in registery form).
I can't find in templates where is <div id="QuoteSelected"> ? Where can I find it ?
I have to hide this "quote selected" button in specific forums..
I found functions working with this element in discussion.js but I think I can modify that in templates..
I have to add button in thread which shows posts belong to sepcific usergroups. What is the best way to do it?
I want to extend XenForo_ControllerPublic_Thread by new Method similar to actionIndex() and change Model Function wich returs posts in thread.
But when I copy actionIndex() to...
I have to count posts in "specific forum".
It should count when posts are moved from any forum to this specific forum(+) and vice versa(-).
Which is the best moment to do that and how to handle "moving" ?
I extened DataWritter/DiscussionMessage/Post and DataWritter/Discussion/Thread and...
I added column to table xf_post.
I want to change displayed post if the value in this column is 1.
I don't want to change REALLY message in database, I just want to "hide" real message and put there example my phrase.
What is the best way to do it ?
Should i ovverride preparePost method in...
I need to modify 'edit post' form and 'new thread' form by add checkbox like "only 18+" (similar to "Disable auto wrap link")
I think I have to add column to xf_post table in database? Example in Install Add-One Class ?
Next when post is showing I have to check if its selected...and if...
I added option to ModerationQueue (one more than, delete, approve, nothing). Its 'moveToTrash'.
I extended ModerationQueueHandler for Post and for Thread. I modified template to add input:radio.
But SAVE BUTTON in Mod Queue call action "actionSave" in...
I started working with XenForo Forum as Developer.
I have to create AddOne to "Move thread to SPECIFIC FORUM, and send PMs to all users who wrote in thread".
I want to add hiperlink or button somewhere in "ad_thread_view_above_messages" hook or better in "thread_view_pagenav_before" next...