Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1214)
Very Very Very Important. If you have Sleepy's View Single Post mod installed, you MUST uninstall it before installing this. This incorporates that mod as well in order to work properly.This mod allows for AJAX Quick Reply. Quick reply must be enabled on your board for this to work, this does not replace the built in quick reply. Normally, when a post is submitted, the page will reload and your new post will be displayed. This eliminates the need to reload the page and your post shows up instantly.
Here is a video that demonstrates the functionality: http://www.mattzuba.com/_public/ajax.swf.html (http://www.mattzuba.com/_public/ajax.swf.html)Some quick notes about how it works (only (1) applies to SMF 1.1.5):
1) If a user is not on the last page of a topic or viewing all, the post will post as normal
2) If visual verification is enabled for posting, it will post as normal
3) If posts are moderated, it will post as normal.
4) If there are any errors during posting, it will post as normal
Note:I will make the modification to anyone's custom Display.template.php, provided they have at least attempted it on their own. Please post an unmodified copy, however. I run it through the package parser and make manual adjustments as needed.
If anyone would like me to see why it isn't working on their site, they will need to provide a link to their site as well as a test account to be used.
Support Topic:
http://www.simplemachines.org/community/index.php?topic=241917.0 (http://www.simplemachines.org/community/index.php?topic=241917.0)Known Issues:After posting, boardindex still shows board as unread (or, has new replies)
Quote from: SlammedDime on May 30, 2008, 07:19:10 PM
Fix for 1.1.5 or B3.1:
Open xml_topic.jsfunction ajax_reply()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
function ajax_reply()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
Sorry.
QuoteIf you install Pretty Urls AFTER installing this mod, you will have to manually make the changes in /Sources/Display.php.
if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
if (!isset($_REQUEST['xml']) && (isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
Change Log:Legend:
* = New feature
+ = Improved feature
! = Fixed bug
? = Other stuff
Version 1.0.1
-------------
! Invalid semantics in XMLtemplate.php
! Now works properly if javascript is disabled in user's browser
+ When Show Newest Posts first is enabled, new posts now go to top, rather than bottom.
? Install checks for pretty urls and makes changes if needed
Version 1.0.0
-------------
* Release
FAQQ: After installing the mod, I don't see quick reply on my topic pages.
A: This mod does not add quick reply to your board. One of SMF's included features
is quick reply. This only changes it's functionality. To enable quick reply, you have to go to your profile and change your Look and Layout Preferences to display it.
Q: I installed this mod, but don't see any settings for it.
A: That's because there are none. It only changes existing functionality and there is nothing to configure.
Q: Will this work on my theme?
A: In short: It will work on just about any non-semantic theme on 1.1.x (any theme based on the Core theme). It will work on just about any semantic theme for 2.0. If your 2.0 theme uses tables to display posts, rather than div's, this will not work at this time.
Q: It doesn't work...
A: I don't like that phrase. Be more detailed. What exactly is happening? What isn't happening? I can't do much without a test account and link to your board either, so please post that
Thanks for this great mod :)
Indeed i think its going to be really popular.
screenshots plz?
Those .js files include mootools. for what? for AJAX Quick Reply?
No, its for the xml stylesheet viewer. Not for the mod.
Quote from: karlbenson on May 29, 2008, 07:38:38 PM
No, its for the xml stylesheet viewer. Not for the mod.
I see, anyway. it didn't work on me..
I wrote my message and press "send"button. but nothings hapened.
Then when I fresh the page. my message appear.!!
if someone use this mode, please let me know..
try hitting ctrl+f5 and try again.
I've been testing it on one of my forums
http://www.adrevenueshare.com/index.php
Hoochie - This mod heavily depends on proper modification of Display.template.php if it exists in a custom theme. The new function as well as the modification to the existing template function are crucial.
See the bottom of the first post of this topic.
Quote from: ALEJO on May 29, 2008, 07:31:05 PM
screenshots plz?
Its not possible to get screen shots of this. It doesn't add anything visually to SMF, merely changes the functionality of how quick reply works.
Awesome Mod! I have installed it on the forums I run on SMF 1.1.x thanks so much!
someone have a screenshot??
Thanks
There is not anything to take a screenshot of it just changes some logic. So when you make a quick reply it does not reload the page.
Works great on a vanilla install.
However, Slammed, the mod can't install properly (read: automatically) when the Sticky First Post mod is installed. I looked myself, and I think it will only require a few reference edits, nothing that would change the actual code of the mod. If you want, I can go through further to see what all would be required, unless you'd prefer to do so.
Quote from: vbgamer45 on May 29, 2008, 09:13:31 PM
There is not anything to take a screenshot of it just changes some logic. So when you make a quick reply it does not reload the page.
thanks
excuse me but i dont speak english ;)
AJAX allows stuff to happen without having to reload the page. There is nothing new visually with this mod. So there is no point in taking a screen shot.
Very nice slammed i use it
Oh, and Slammed, what happens if someone doesn't have JS enabled? I tried it without JS on a page and the Post button will not work.
AJAX: Asynchronous JavaScript And XML :)
I do see your point though. It should post as normal if Javascript is disabled. I'll look into adding that functionality. The percentage of users that don't have this enabled is very very small, so i don't consider it an immediate change.
Hence why I tested it without JS enabled to see if you'd programmed something in. ;) There are some people who prefer to browser the web without JS unless absolutely necessary.
I also did not implement if someone has 'show new replies first' enabled. It would still 'ajax' them to the bottom of the list, but would be in the proper location upon refresh. Again, not something that many people do anyway, so its something to keep in mind for the next release.
As for the conflict with that other mod, I'll adjust the search parameter on the next release as well. Maybe in a few days (I really hate doing it so soon though). I think the simple fix for the javascript issue is to just change the input type from button to submit and make sure that the javascript function for replying returns false.
Quote from: Hoochie Coochie Man™ on May 29, 2008, 08:05:03 PM
Quote from: karlbenson on May 29, 2008, 07:38:38 PM
No, its for the xml stylesheet viewer. Not for the mod.
I see, anyway. it didn't work on me..
I wrote my message and press "send"button. but nothings hapened.
Then when I fresh the page. my message appear.!!
if someone use this mode, please let me know..
in my forum too !!! when i refresh the page the message appear but before not
forum 1.1.5
template: default
I installed this mod in my smf 2.0 forum. When i clicked in apply mod it showed test failed in Display.template.php in one section so i edited it manually. The mod installed corectly but the page still reload when posting.
I am using default theme. i attached the Display.template.php.
help please
It is not working with ecardmax hot editor. Also i wrote message. It warned me that nothing written. Is it possible to make it work with ecardmax hoteditor?
Thx.
SMF 1.1.5
Great mod SlammedDime. It will be very popular probably, but also it will be really hard to give support. Good luck with it. ;)
Quote from: SlammedDime on May 29, 2008, 08:16:06 PM
Hoochie - This mod heavily depends on proper modification of Display.template.php if it exists in a custom theme. The new function as well as the modification to the existing template function are crucial.
See the bottom of the first post of this topic.
Thanks @SlammedDime.. I tested it on Karl's testboard and it worked great..
I think problem is me. Let me explore this mode :)
By the way.. Before this mod... When I edit a message that green backgroun "Loading" area isn't working on me.
Is there any relation of with why this mod didn't work on me?
Yes. AJAX has to be working in SMF's other functions. If not, then this will most likely not work. Some other AJAX functions: clicking quote in a topic should throw the post into the quick reply box; the stats page uses AJAX to expand the months to show detailed stats. Quick modify on messages uses AJAX.
stanaca - I'm having trouble adding attachments right now, when i get to my other computer in a few hours, I'll post an updated template for you.
Badboy - Unfortunately, I cannot offer support for other editors at this time. I would suggest taking a look at the modifications I've made to the quick reply editor and see if you can edit it to work.
[SiNaN] - Thanks. I know its a great mod to have, and I'm hoping it goes off without a hitch. We shall see.
Quote from: SlammedDime on May 30, 2008, 03:43:25 AM
stanaca - I'm having trouble adding attachments right now, when i get to my other computer in a few hours, I'll post an updated template for you.
ok thanks, i am waiting
It worked great on a default 1.1.5..
However, when I install Pretty URLs Mod.
It overlap with AJAX Quick Reply and didn't worked again.
http://www.omerkoroglu.net/115/index.php
username: test
password: test
Quote from: Hoochie Coochie Man™ on May 30, 2008, 05:00:37 AM
It worked great on a default 1.1.5..
However, when I install Pretty URLs Mod.
It overlap with AJAX Quick Reply and didn't worked again.
http://www.omerkoroglu.net/115/index.php
username: test
password: test
I am also using pretty urls mod
Thanks great mod.
I'm taking this error when i try to post a message with quick reply:
Warning - while you were typing a new reply has been posted. You may wish to review your post.
Ok.. I change the display.template's codes calmly :) and it worked on me :)
Thanks again for this great mod @SlammedDime
Quote from: уιℓмαz on May 30, 2008, 05:38:45 AM
Thanks great mod.
I'm taking this error when i try to post a message with quick reply:
Warning - while you were typing a new reply has been posted. You may wish to review your post.
I've solved this problem. But there is another one. I'm posting a quick message but new message doesn't seem without refreshing.
Hi,
thanks.
Installed manually. Not sure if it is working because I really did not understand what it is supposed to modify... Ups...
Anyway in my display.template.php I have twice this code:
<div class="smalltext">« <b>', !empty($message['counter']) ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' »</div></td>
In the first it was replaced by
<div class="smalltext">« <b>', !empty($message['counter']) ? '<a href="'.$scripturl.'?topic=' . $context['current_topic'] . '.0;msg='.$message['id'].'">' . $txt[146] . ' #' . $message['counter'] . '</a>': '', ' ', $txt[30], ':</b> ', $message['time'], ' »</div></td>
Need I change the second too? Because it is not repeated inSMF Package Parser.
Here the block code where the second time appears:
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<hr width="100%" size="1" class="hrcolor" />
<div class="signature">', $message['member']['signature'], '</div>';
echo '
</td>
</tr>
</table>
</td></tr>
</table>
</td></tr>';
if (function_exists("show_posts"))
{
if ($adpost = show_posts($adcounter))
{
if($modSettings['ads_lookLikePosts'])
{
echo '
<tr><td style="padding: 1px 1px 0 1px;">
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr><td class="windowbg3">
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $context['forum_name'], '</b>
<div class="smalltext">
</div>
</td>
<td valign="top" width="85%" height="100%">
<table width="100%" border="0"><tr>
<td valign="middle"><img src="', $message['icon_url'] . '" alt="" border="0" /></td>
<td valign="middle">
<div style="font-weight: bold;" id="subject_', $message['id'], '">
<a href="', $message['href'], '">', $message['subject'], '</a>
</div>
<div class="smalltext">« <b>', !empty($message['counter']) ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' »</div></td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '" valign="bottom" height="20" style="font-size: smaller;">';
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
', $reply_button, '';
// So... quick reply is off, but they *can* reply?
No, you only need to change the first. But I see you have the ad management mod as well. Oye. I'm going to have to re do the search strings for the installer to find a different piece of code to insert some of my code at.
For those having issues with pretty urls, you'll need to open up Display.php
if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
and
if (!isset($_REQUEST['xml']) && (isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
stanaca - I have no clue what is wrong my my Firefox or IE, but both freeze up my computer when I try to post attachments. PM me your email address and I'll email you the modified template.
hy, can someone take a look at my display.template, i have manually modiffied the lines until i have reached display.template, there is a line i cannot find, it doesnt exists.
this line i cannot find in my file <div class="smalltext">« <b>', !empty($message['counter']) ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' »</div></td>[code]
I am using a custom theme with some mods also, and smf 1.1.4.
i am putting my display.template here
Thanks.
I did not notice any problem with ad management mod but how can I check it your mod is working fine?...
I need help.
I tried it.
roberto: that line is on Line 407 of the file you posted.
jossanaijr - when you reply, it should be an instant reply that shows up on the screen, the page should not reload.
I'll be posting a new version here shortly that fixes a javascript issue if a user doesn't have javascript enabled, as well as allowing some support for pretty urls (you must have pretty urls installed first).
stanaca - Here is your file:
Pasaway - Here is yours
Do you mean that while I'm typing it is showing before I "POST"?
SlammedDime is are amazing. I'm loving this mod. Its A LOT easier to post now in a faster manner. If only it was default in SMF. ;)
Quote from: jossanaijr on May 30, 2008, 03:28:54 PM
Do you mean that while I'm typing it is showing before I "POST"?
No No. What I mean is this: Normally, when you click 'Post', the page will reload and show your new post. With my mod installed, the page will no longer reload. The post will simply show up.
Ok, now I understand and now it seems to work BUT....
now it shows a problem with my ad after last post (ad management mod)...
I'd need to see a link to your forum and a test account to look at it.
Slammed, I just noticed that the mod doesn't place the Quick Edit icons on the post, require a refresh if someone wants to edit the post they just made.
The solition for Pretty Url works great! Thans a lot for the solition.
For somebody
find
if ((isset($context['pretty']['oldschoolquery']) || $_REQUEST['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
replace
if (!isset($_REQUEST['xml']) && (isset($context['pretty']['oldschoolquery']) || $_REQUEST['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
Quote from: SlammedDime on May 30, 2008, 03:54:28 PM
I'd need to see a link to your forum and a test account to look at it.
PM you.
As much as I hate doing it, I released a new version. Change log in the first post of the topic. If its working properly on your site, there's no need to really update. If you want to take advantage of the bug fixes that are not really detrimental, you'll need to first uninstall before reinstalling.
Wow. This must be the fastest mod to 50 replies.
i knew it would be popular.
Gr8 work SlammedDime.
Make that 51 now :P
Nice work, Even though im thick and still don't get what this does.
pk3r 0wn - take a look at this...
http://www.mattzuba.com/_public/ajax.swf.html
Wow, That looks fast. Thanks now i get it thanks :P
Oh, I got one problem.
I post then go back to the main board and it recognizes about it as a new post?
Hmm, I wonder? This must be a bug, I heard people are having same problamo to.
pk3r - where exactly did you hear this?
MrMoney - I'll look into this
Hmm, SMFForFree.com theres a few around one about Error On Page on left corner, What is that anyway unless it's on IE working perfect on MFF. (Mozilla FireFox).
Ok thanks, slammeddime
Quote from: SlammedDime on May 30, 2008, 06:31:57 PM
pk3r 0wn - take a look at this...
http://www.mattzuba.com/_public/ajax.swf.html
Cool.. thanks for this screencam :D
Bah... fix for 1.1.5 or B3.1:
Open xml_topic.jsfunction ajax_reply()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
function ajax_reply()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
Sorry.
Is that how to fix it? :P
Yes pk3r own it is.
And SlammedDime I already fixed that :)
I was bored and couldn't wait for you to fix it.
how do add the green header with "Loading" at the top of the window?
Quote from: TeenDev on May 30, 2008, 09:05:53 PM
how do add the green header with "Loading" at the top of the window?
Look at this mods source and figure it out for yourself :)
Don't be lazy
I installed it manually, and there is no green bar source in the mod. Don't call me lazy.
This is built using existing functions in SMF, which includes the loading bar for SMF AJAX functions. Nothing extra is needed as long as you copied the additions into xml_topic.js exactly as in my install file.
I keep on getting the same error from firebug whenever I try to post a quick reply, I am using SMF 2 Beta 3.1, is this fixed by the above code?
"oQuickReply.ajax_reply is not a function"
It looks like your xml_topic.js file was not properly modified or you may need to do a hard refresh in your browser on your site so the xml_topic.js file is updated, rather than using a cached copy.
Thanks SlammedDime!
I uninstalled the old version and installed the new version.
It installs cleanly on default theme and working fine.
Good to hear. :)
Quote from: SlammedDime on May 30, 2008, 10:00:33 PM
It looks like your xml_topic.js file was not properly modified or you may need to do a hard refresh in your browser on your site so the xml_topic.js file is updated, rather than using a cached copy.
Yeah, I feel kinda like a real Newbie now, I only had to do a hard refresh of my browser and now it works fine! ;)
I think there is a little bug..
It is working on me, that's ok..
But when I post the message and leave the topic.. In BoardIndex on.gif button appears.. :-\
There is a fix for that
Open xml_topic.js
Now find.
ajax_reply
And under
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
Add
x[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
All fixed :)
yes hcm i have a same problem.
&
little bug..
display.template.php
bViewNewestFirst: ', $options['view_newest_first'], ',
error log :
view_newest_first
edit : thanks MrMoney ..
Lol, went a little overboard on that copy/paste, did we MrMoney? :P
Oops something messed up :(
My comp is all funny right now
Fixed it :)
Fixed.. Thanks.. @MrMoney
NO problem.
awesome MOD SlammedDime. Installed on my default theme with 25 MODS no problems :)
I just wondered one thing. I used quick reply and the post appeared instantly. Then I did a regular reply in the same thread and it said that warning someone else posted before me. Well that someone was me :)
I am not the brightest bulb on the tree so maybe it means nothing just thought I would mention it. I saw a "warning" post a few pages back but it appearded to mention something else. Thanks again
I've put in the javascript to update the 'numreplies' form field, and it should work. I'd need to see a link with a test account to take a look at it to see whats going on. Have you done a hard refresh (ctrl - f5) on your site to refresh the javascript so your browser doesn't used an old cache'd version?
btw: great to hear it worked on a site with so many mods. :)
I have a problem :/
I installed this great mod, with Opera it works like a charm. But while using Firefox after posting a reply the page must be manually refreshed. The bug tracker in FF outputs:
XMLDoc.getElementsByTagName is not a function
[Break on this error] var post = XMLDoc.getElementsByTagName('post')[0];
Edit
Ok, after applying the Pretty URLs patch, the page refreshes, but looks like without the mod still :/ The whole page refreshes. I've checked the apache logs, and according to them with Opera after adding a reply there is only one POST and one GET action, while just seconds later but with Mozilla, after replying i get requests for all the whole page. Any ideas? Same thing with IE 7
Did you do a Hard refresh (Ctrl+F5)?
Sure, deleted cache in FF nothing seems to help :/
I tried the fix in the first post but the function wasn't even in the JS file.
For some reason now, the new posts on.gif icon on the forum index won't turn off after you've gone in the forum and viewed the posts. It's kinda annoying.
SlammedDime - Thank you for this great mod. It's a great addition to SMF.
It seems to be functioning just fine. There's only one (possible) bug I wanted to bring up. After making a Quick Reply the "Quick Edit" button in the new post is gone. This could be because I placed the code in the wrong place in the Display.template.php . I'll check it out and edit this post if so.
Thanks again for the great mod. ;D
The quick edit button is in fact there, its style is just set to 'display:none'. Unfortunately its due to the way the javascript is setup in SMF. I'll make a change in the next release to fix this.
L.G.S. - The fix in the first post of the topic should take care of the issue your experiencing. If the function isn't in the JS file, then the mod did not install properly and you should go through manually and ensure that every change was made correctly.
Harvest - I'd need a link and a test account to look at it and see what's going on. The error your experiencing normally means that the javascript function isn't returning the proper xml formatted document. Using firebug, can you take a look at what is being returned from the xml request?
They should install this mod here :)
Not a bad idea. It would reduce server load (i think).
Edit: It would actually reduce server load quite a bit. Rather than two loads of the SMF script, one to post, and one to display the updated topic (which has to reload every post on the page, plus the new one), it only calls the SMF script once, and only has to load up one new post. It would thus reduce database queries drastically, more than two fold.
Whoops, sorry problem solved :/ Stupid me, had a typo in template_ajax_reply() :/ sorry for bothering U. That's a great mod, thx a lot ;)
Removed.
The mod package is correct, please do not change it, and I'd ask that you please remove that from your post as to not create confusion. Thanks :)
Although I will add a comment to the install file and in the code as to how to manually install it.
For SMF 2 Beta 3.1
I just noticed a bug with the mod which you may wish to fix, when you post a quick reply and then leave the thread which you posted the reply in, the quick reply post is marked as unread. This seems like something which you may wish to fix.
Edit: This may be a bug with SMF 2 Beta itself, it appears that the image for new posts for that board in the forum index is showing that there are new posts, but when I click on it to see the new posts, I cannot see any. This is very odd! :o
This is the fix:
Quote from: SlammedDime on May 30, 2008, 07:19:10 PM
Bah... fix for 1.1.5 or B3.1:
Open xml_topic.jsfunction ajax_reply()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
function ajax_reply()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
Sorry.
Quote from: Harvest on May 31, 2008, 05:31:51 PM
Ok, after applying the Pretty URLs patch, the page refreshes, but looks like without the mod still :/ The whole page refreshes. I've checked the apache logs, and according to them with Opera after adding a reply there is only one POST and one GET action, while just seconds later but with Mozilla, after replying i get requests for all the whole page. Any ideas? Same thing with IE 7
I have this problem too,
and there is an error in error logs:
http://www.tamforum.gen.tr/index.php?pretty;board=admin-duyurulari;topic=(forum-kurallari).0
8: Undefined index: require_verification
File: /var/www/vhosts/tamforum.gen.tr/httpdocs/Themes/tamforum/Display.template.php (main sub template - eval?)
Line: 810
line 810:
if($context['can_reply_approved'] && !$context['require_verification'] && ($context['page_info']['current_page'] == $context['page_info']['num_pages'] || isset($_REQUEST['all'])))
Quote from: уιℓмαz on June 01, 2008, 11:51:37 AM
Quote from: Harvest on May 31, 2008, 05:31:51 PM
Ok, after applying the Pretty URLs patch, the page refreshes, but looks like without the mod still :/ The whole page refreshes. I've checked the apache logs, and according to them with Opera after adding a reply there is only one POST and one GET action, while just seconds later but with Mozilla, after replying i get requests for all the whole page. Any ideas? Same thing with IE 7
I have this problem too,
and there is an error in error logs:
http://www.tamforum.gen.tr/index.php?pretty;board=admin-duyurulari;topic=(forum-kurallari).0
8: Undefined index: require_verification
File: /var/www/vhosts/tamforum.gen.tr/httpdocs/Themes/tamforum/Display.template.php (main sub template - eval?)
Line: 810
line 810:
if($context['can_reply_approved'] && !$context['require_verification'] && ($context['page_info']['current_page'] == $context['page_info']['num_pages'] || isset($_REQUEST['all'])))
Did you manually install the mod? In any case, make sure that in /Sources/Display.php that all of the changes from the install file were made.
Hmm yes i fixed it :)
and
Quote from: Harvest on May 31, 2008, 05:31:51 PM
Ok, after applying the Pretty URLs patch, the page refreshes, but looks like without the mod still :/ The whole page refreshes. I've checked the apache logs, and according to them with Opera after adding a reply there is only one POST and one GET action, while just seconds later but with Mozilla, after replying i get requests for all the whole page. Any ideas? Same thing with IE 7
what do you think about this? any fix?
I have trouble making it work in my custom template, can I send you the file instead of posting it here? In the default works perfect, but my theme is quite custom.
Great modification! Looking forward to use it! Thanks!
Now is working thanks to the big help of SlammedDime!
Quote from: уιℓмαz on June 01, 2008, 05:14:56 PM
Hmm yes i fixed it :)
and
Quote from: Harvest on May 31, 2008, 05:31:51 PM
Ok, after applying the Pretty URLs patch, the page refreshes, but looks like without the mod still :/ The whole page refreshes. I've checked the apache logs, and according to them with Opera after adding a reply there is only one POST and one GET action, while just seconds later but with Mozilla, after replying i get requests for all the whole page. Any ideas? Same thing with IE 7
what do you think about this? any fix?
As i've said in previous posts, the readme, and the first post of this topic, I need a link and a test account to see what is going on. The mod works fine on a default install, and i've tested it with pretty urls and it works, so something isn't right on your install. thanks :)
Thank you very much! email sent.
username: test
pass: 111111
You can test here:
http://www.tamforum.gen.tr/tanis-and-kaynas/test-t16593/
Quote from: уιℓмαz on June 01, 2008, 07:37:24 PM
username: test
pass: 111111
You can test here:
http://www.tamforum.gen.tr/tanis-and-kaynas/test-t16593/
What other mods do you have installed? Can you post a copy of your Display.php and Display.template.php files.
1. Old Skool Quote and Code Boxes
2. Grouped Who's Online
3. Case Insensitive Smileys
4. nCode Image Resizer
5. Profil Moderator Managment
6. Contact Form
7. Spoiler Tag
8. Member Color Link
9. Message Index Formatting
10. Recount Posts Maintenance
11. YouTube BBCode
12. Attachment Notice
13. ek$i sozluk BBCode
14. Image Quote Removal Package
15. More Spiders
16. AjaxInlineMessagePreview
17. PhpInfo
18. MCLegendII.2
19. AJAX Instant Quick Reply
20. View Single Post
21. Signature Area BBCode Buttons
22. Add Domaintools to TrackIP
23. SMF Sitemap
Display.php and display.template.php files are in attach.
Ok, uninstall both this mod, and the View Single Post mod and we'll start over. Install just my mod. Don't install the View Single Post mod. I had a feeling that was the problem. This mod incorporates the features of that one, and as such it's like having it installed twice, which can cause undesireable results.
I uninstalled Single Post mod but there is no change
Please uninstall my mod completely as well, then try reinstalling through the package manager. Allow the package manager to install as much of it can, and any parts it failed on, do manually.
I would bet that the AJAXInlineMessagePreview mod is the conflict here, regardless of what you do. I'll take a look at the mod and see if I can work mine around it, but I can't promise anything.
Edit: After looking at that mod, there really isn't anyway to code around it. Unfortunately its simply a conflicting mod.
I reinstalled this mod but pages are refreshing when i post quick message :(
Please see my last reply. Its due to an unavoidable conflict with the InlineMessagePreview mod.
Yes.. i uninstalled inline message preview and quick reply is working very good :) SlammedDime thanks for your interest and this mod.
Glad you got it working :)
There is something that I just noticed... if the post has more than 2 messages the new post appears right after the first post, let me explain it better... let's say that the topic has 8 responses, and the number 9 will appear as the second message, once you refresh the page then it will appear at the bottom.
For my custom display.template, of course... the default works like a dream.
It seemed to work just fine when I tested it. I'll look at your template a bit further after dinner and see what I can come up with.
If it helps I can give you a test account and I place to test.
Thanks again!
Sure thing, PM it on over to me.
I done the same job as you've said. Uninstalled ajax inline message preview & installed this MOD & its working like a charm.
But i want to ask you one question. it is ok to install the ajax inline message preview MOD now...
coz when i clicked on Apply MOD, its giving no errors with all the tests successful.
What should i do now ? Should i install or not ?
Thanks in advance. Great MOD which saves a lot of bandwidth & time. :)
No, the Inline preview will not work at all with this mod. Sorry.
Quote from: SlammedDime on June 02, 2008, 12:48:56 AM
No, the Inline preview will not work at all with this mod. Sorry.
Thanks for the quick reply. Just like your MOD, your reply was quick. Thanks :)
let me try it
Quote from: LHVWB on June 01, 2008, 07:15:19 AM
For SMF 2 Beta 3.1
I just noticed a bug with the mod which you may wish to fix, when you post a quick reply and then leave the thread which you posted the reply in, the quick reply post is marked as unread. This seems like something which you may wish to fix.
Edit: This may be a bug with SMF 2 Beta itself, it appears that the image for new posts for that board in the forum index is showing that there are new posts, but when I click on it to see the new posts, I cannot see any. This is very odd! :o
I believe that this post may have gotten lost in the torrent of posts in this thread. Has anyone else had this problem?
It still seems to be there for me, after you post a quick reply and leave the thread, that quick reply counts as unread.
I can't seem to reproduce that issue. There was an issue where the board index was showing unread topics in that board, but the fix in the first post takes care of that. When you 'leave the thread', where are you going that it is showing unread? Message Index, or board index? If its board index, did you apply the fix?
The Board index is where I am returning to and even after applying the fix, this problem still occurs.
However I couldn't find the ajax_reply() function instead I found a the code below and applied the fix to the correct line.
Without the fix:
QuickReply.prototype.ajax_reply = function ()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
With the fix:
QuickReply.prototype.ajax_reply = function ()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
I am using SMF 2 Beta 3.1, so I am wondering if the corrections that you posted are completely relevant to this version, because I can't get them to work. I have attached my entire xml_topic.js file to this document, so that you can confirm that I haven't done anything really bad. ;)
Hi SlammedDime,
When you next update this mod (like for beta 4) I suggest you change the way you fix it for pretty URLs. As it is now if you tried uninstalling Pretty URLs after installing this mod there would be conflicts. Luckily however, it should be just as easy to make sure the two mods never have to edit the same lines! :)
You could add these lines to any file that's run before it attempts to do the 301 redirects (index.php, QueryString.php), but I suggest just putting them at the top of Display() right after the globals and before the first comment.
if (isset($_REQUEST['xml']))
$modSettings['pretty_enable_filters'] = false;
Quote from: Dannii on June 03, 2008, 11:38:59 AM
Hi SlammedDime,
When you next update this mod (like for beta 4) I suggest you change the way you fix it for pretty URLs. As it is now if you tried uninstalling Pretty URLs after installing this mod there would be conflicts. Luckily however, it should be just as easy to make sure the two mods never have to edit the same lines! :)
You could add these lines to any file that's run before it attempts to do the 301 redirects (index.php, QueryString.php), but I suggest just putting them at the top of Display() right after the globals and before the first comment.
if (isset($_REQUEST['xml']))
$modSettings['pretty_enable_filters'] = false;
If I do that, then the urls will not be rewritten after the message is run through the display template unless I turn it back on at the end of the display function, which is really adding unnecessary code. I tried attaching ;pretty to the xml POST hoping that would do it after looking at your code, but it didn't work, even with ;topic= in the POST as well. Any suggestions on using ;pretty?
LHVWB - I'll look at this more closely and see if I might be able to track it down.
QuoteIf I do that, then the urls will not be rewritten after the message is run through the display template unless I turn it back on at the end of the display function, which is really adding unnecessary code. I tried attaching ;pretty to the xml POST hoping that would do it after looking at your code, but it didn't work, even with ;topic= in the POST as well. Any suggestions on using ;pretty?
Ahh true... I hadn't thought of that. So Display() is now doing the normal viewing and sending the new post back with ajax?
I could change the test from
if (!isset($_GET['pretty'])) to
if (!isset($_REQUEST['pretty'])) on my end so then it will work for POSTs as well. I'll do that when I update it for beta 4, if you can change yours at the same time that would be great. I'm all for mod compatibility :)
The quick edit button won't show until you refresh the page ><
Already reported and acknowledged.
Quote from: SlammedDime on June 01, 2008, 04:23:17 AM
The quick edit button is in fact there, its style is just set to 'display:none'. Unfortunately its due to the way the javascript is setup in SMF. I'll make a change in the next release to fix this.
Ah thank you, when I clicked on the boards new post icon, it didn't show any new threads so I was getting kind of confused.
Hopefully that will be fixed with SMF 2 Beta 4, or whatever the next version is. :)
Quote from: Dannii on June 03, 2008, 09:05:01 PM
QuoteIf I do that, then the urls will not be rewritten after the message is run through the display template unless I turn it back on at the end of the display function, which is really adding unnecessary code. I tried attaching ;pretty to the xml POST hoping that would do it after looking at your code, but it didn't work, even with ;topic= in the POST as well. Any suggestions on using ;pretty?
Ahh true... I hadn't thought of that. So Display() is now doing the normal viewing and sending the new post back with ajax?
I could change the test from if (!isset($_GET['pretty'])) to if (!isset($_REQUEST['pretty'])) on my end so then it will work for POSTs as well. I'll do that when I update it for beta 4, if you can change yours at the same time that would be great. I'm all for mod compatibility :)
Sounds like a plan. I'll test it out ahead of time as well and make sure all is well. If not, I'm sure I can find some way around it. :)
Hey SD,
Thank you for the wonderful mod.
Can you help me install your mod properly?
I think I need to edit the custom theme template for the quick reply to show up.
I'm not too positive on how to do so. I just started learning smf.
The leader of my team for age-of-chivalry.com has choosen to use smf and it's my job to make sure I know it.
Would you mind assisting me, letting me know what to do.
I already installed and applied the mod successfully, I just don't see it anywhere, not even on the default theme.
Test account: SlammedDime
Test password: thepwiss3cur3d
URL to the forum: http://www.age-of-chivalry.com/smf/
Thanks in advanced.
P.S. I'd appreciate it if you could post your response here.
This does not add quick reply to SMF. That is already there. This only changes its functionality. In order to turn on quick reply, you need to go to your profile, then Look and Layout, then for the option of 'Use Quick Reply', change it to 'Show, on by default'.
For your template, please post Display.template.php from your custom theme here. :)
If you have either the Single Post Mod or AJAX Preview mod installed, you'll need to uninstall either or both before installing this. My mod incorporates the Single Post mod, and is incompatible with the AJAX Preview mod.
Attach them to your next post and I'll take a look at them. :)
Ok evil-angelist, the attached files should work for you. Apply the mod, ignoring the failures. Then replace your Display.php and Display.template.php with the ones attached to this post.
Hi SlammedDime,
any news about the use of Ad Management Mod?
jossanaijr - post Display.template.php from your board. xml_topic.js too.
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board. xml_topic.js too.
OK but I only can do it tomorrow. No FTP right now. Thanks.
SlammedDime in smf 1.1.5 even with the fix it still shows new on board index
Really? I'm on the same version and I'm not experiencing that.
Did you do a hard refresh (Ctrl+F5) of your forum so the xml_topic.js could be refreshed?
Yes i did
No no, You need to specifically do it in this order, starting with your original files before I modified them.
Replace Display.php and Display.template.php from your original post above.
Install the mod, ignore the errors.
Replace Display.php and Display.template.php from my post above.
If you don't do this, what happens is even though there are errors, the Package installer still installs parts of the mod in the file, just not the error parts. By doing what you did, my mod was effectively installed twice in some parts, thus creating the errors you got.
Quote from: MrBabbelen on June 07, 2008, 09:32:42 PM
SlammedDime in smf 1.1.5 even with the fix it still shows new on board index
From the first post of the topic and the readme:
QuoteIf anyone would like me to see why it isn't working on their site, they will need to provide a link to their site as well as a test account to be used.
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board. xml_topic.js too.
This is the error I am getting:
8: Undefined index: view_newest_first
File: /home/fiestaon/public_html/fiestahq/forum/Themes/Fiesta/Display.template.php (main sub template - eval?)
Line: 564
if ($context['show_spellchecking'])
echo '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/spellcheck.js"></script>';
echo '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/xml_topic.js"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
quickReplyCollapsed = ', !empty($options['display_quick_reply']) && $options['display_quick_reply'] == 2 ? 'false' : 'true', ';
var view_newest_first = ', $options['view_newest_first'], '
smf_topic = ', $context['current_topic'], ';
smf_start = ', $context['start'], ';
smf_show_modify = ', $settings['show_modify'] ? '1' : '0', ';
// On quick modify, this is what the body will look like.
var smf_template_body_edit = \'<div id="error_box" style="padding: 4px; color: red;"></div><textarea class="editor" name="message" rows="12" style="width: 94%; margin-bottom: 10px;">%body%</textarea><br /><input type="hidden" name="sc" value="', $context['session_id'], '" /><input type="hidden" name="topic" value="', $context['current_topic'], '" /><input type="hidden" name="msg" value="1572329" /><div style="text-align: center;"><input type="submit" name="post" value="', $txt[10], '" onclick="return modify_save(\\\'' . $context['session_id'] . '\\\');" accesskey="s" /> ', $context['show_spellchecking'] ? '<input type="button" value="' . $txt['spell_check'] . '" onclick="spellCheck(\\\'quickModForm\\\', \\\'message\\\');" /> ' : '', '<input type="submit" name="cancel" value="', $txt['modify_cancel'], '" onclick="return modify_cancel();" /></div>\';
// And this is the replacement for the subject.
var smf_template_subject_edit = \'<input type="text" name="subject" value="%subject%" size="60" style="width: 99%;" maxlength="80" />\';
// Restore the message to this after editing.
var smf_template_body_normal = \'%body%\';
var smf_template_subject_normal = \'<a href="', $scripturl, '?topic=', $context['current_topic'], '.msg1572329#msg1572329">%subject%</a>\';
var smf_template_top_subject = "', $txt[118], ': %subject% (', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')"
if (window.XMLHttpRequest)
showModifyButtons();
// ]]></script>
After I use Quick Reply, the post is applied but the error is that it shows up as a new thread right below the current one. Refreshing the browser fixes it up.....but I am wondering what causes the error.
razor - It looks like the mod wasn't properly applied to your custom Display.template.php file. As for the error you get in the error log, it has nothing to do with the issue you're having. Its a small bug that I've fixed in the next version I'll release when 2.0 Beta 4 comes out.
In the code you posted,
var view_newest_first = ', $options['view_newest_first'], '
and Replace with
var view_newest_first = ', !empty($options['view_newest_first']) ? $options['view_newest_first'] : 0, '
jossanaijr - Here you go. Give these two a shot. That should do it for you.
Quote from: SlammedDime on June 08, 2008, 02:15:51 PM
razor - It looks like the mod wasn't properly applied to your custom Display.template.php file. As for the error you get in the error log, it has nothing to do with the issue you're having. Its a small bug that I've fixed in the next version I'll release when 2.0 Beta 4 comes out.
In the code you posted,
var view_newest_first = ', $options['view_newest_first'], '
and Replace with
var view_newest_first = ', !empty($options['view_newest_first']) ? $options['view_newest_first'] : 0, '
I've applied the change to my file but the error still occurs.
Quote from: SlammedDime on June 08, 2008, 02:22:28 PM
jossanaijr - Here you go. Give these two a shot. That should do it for you.
Yes. Fixed! Thank you very much! Great!
razor - You'll need to post up a link to your board and a test account for me to use to see what is going on.
Hi SlammedDime. I'd love to get this working on my test board :)
atm the are 2 issues. 1 - it doesn't work!
2. When it's installed the +/- doesn't work for the quick reply box (meaning when it's closed by default you can't open it)
the site is at smf.tyddynadda.co.uk
I've made an account for you (see the PM for security reasons!)
I've tried it with both the default theme, and the currently installed theme.
EDIT: never mind. It's OK now.
Quote from: SlammedDime on June 09, 2008, 04:23:25 AM
razor - You'll need to post up a link to your board and a test account for me to use to see what is going on.
http://www.fiestahq.sparkonline.net/forum/index.php
User: test
Pass: t3staccount
razor - please attach a copy of Display.template.php. It wasn't modified right so I'd like to take a look at it. :)
Here ya go :)
Give this a shot
Quote from: SlammedDime on June 09, 2008, 03:30:26 PM
Give this a shot
works!
thanks....what was wrong with the coding?
The html Comment to start a single post wasn't inserted correctly. It was on the same line as the php comment, thus commenting it out from being output in html.
Hey SD,
I use the Joomla bridge and this isn't working - AFAIK it's because of the URL... I see in the error console script.js (line 68)
POST http://www.kaitech.hk/option,com_smf/Itemid,71?action=post2;topic=1878;xml (1141ms)
Do I need to
- convert ? and ; to /
- convert = to ,
? Are there other files to edit besides script.js?
Second thing is, I installed version 1.0 but now it cannot be uninstalled b/c display.template.php failed the test. How should I proceed?
I'm almost 100% sure that this won't work with the Joomla or Mambo bridge with SEF urls turned on on the Mambo or Joomla side without some modification (at least that was my experience). You can most certainly try making the fixes you suggested in the JS files and see if that solves the problem for you, but I'm not sure. I use Mambo but haven't had a chance to even test or install this on my live site.
As for the uninstalling: You'll have to perform the uninstall, ignoring the error, and then use the Package Parser integrated into the mod's download page and go through Display.Template.php and remove anything that was installed by the mod by hand.
Hi SlammedDime, First off would like to thank you for support your giving to everyone!
Somthings wrong on my attempt ive spent 2 hours with no luck im outa ideas..
It installed everything apart from display.template.php i manualy added the stuff in there.. When i post it shows that message at top of forum its posting but then it refrehes page without using the ajax posting method..
I looked through display.php turned out some bits wernt inserted by package manager but after i added them still posts normal way.
I have attached following
display.php
display.template.php
xmltopic.js
xml.template.php
Download here: http://www.h2kclan.com/files.rar (http://www.h2kclan.com/files.rar)
My forum is located at:
http://www.h2kclan.com/forum/ (http://www.h2kclan.com/forum/)
Login
User: test
pass: test
Would realy apreciate it..
Ive always wanted Ajax on SMF!
Quote from: SlammedDime on June 11, 2008, 04:28:07 PM
I'm almost 100% sure that this won't work with the Joomla or Mambo bridge with SEF urls turned on on the Mambo or Joomla side without some modification (at least that was my experience). You can most certainly try making the fixes you suggested in the JS files and see if that solves the problem for you, but I'm not sure. I use Mambo but haven't had a chance to even test or install this on my live site.
As for the uninstalling: You'll have to perform the uninstall, ignoring the error, and then use the Package Parser integrated into the mod's download page and go through Display.Template.php and remove anything that was installed by the mod by hand.
Can you let me know which file I should look at? I looked at xmltopic.js, line 68 and it was the function sendXMLDocument... from where does "ajax instant quick reply" call this function and pass it the URL? Sorry I'm a bit new to this... (is it function ajax_reply() inside xml_topic.js?)1.
edit: seems to work now! just changed the corresponding line to:
sendXMLDocument(smf_scripturl + "/action,post2/topic," + smf_topic + "/xml,xml", x.join("&"), onPostDone);
:) Now my next question is: how can I send different versions of the javascript statement (a) slashes&commas, instead of b) semi-colons&equals depending on the state of
_REQUEST['option']?
2. I don't have the 1.0 package file anymore. Can I discern which manual edits were made to display.template.php using the 1.0.1 file? BTW, I ran the 1.0.1 file through this parser (http://sleepycode.com/PackageParser/index.php) and got an error for some reason..
1.0.0 and 1.0.1 are both on the mod site. If you choose from the drop down under the links to download the version of SMF you are running and click 'Submit', you will get manual instructions for installing the mod (just reverse them for uninstalling): http://custom.simplemachines.org/mods/index.php?mod=1214. Make sure you choose the radio button next to 1.0 first.
As for different versions of the javascript statement: there really isn't any good way to do it without really modifying the javascript. The easiest way would be to modify the bridge so that it doesn't transform the smf_scripturl variable in the header of the HTML (Orstio's bridge does this anyway), so regardless of which SMF version your viewing (through the bridge or standalone), any AJAX function of SMF will work.
M3THOD: Try the attached Display.template.php. :)
Quote from: SlammedDime on June 12, 2008, 03:42:49 AM
As for different versions of the javascript statement: there really isn't any good way to do it without really modifying the javascript. The easiest way would be to modify the bridge so that it doesn't transform the smf_scripturl variable in the header of the HTML (Orstio's bridge does this anyway), so regardless of which SMF version your viewing (through the bridge or standalone), any AJAX function of SMF will work.
Can javascript be made to check for
_REQUEST['option'] inside the ajax_reply() function?
You could analyze the querystring and set a variable based on if option=com_smf exists or not. Keep in mind though, $_REQUEST houses all of $_POST and $_GET, whereas analyzing the query string in javascript is similar to looking at just the $_GET array in php. I can't think of a moment when an SMF page would load with the option set in a $_POST variable, at least as far as anything ajax related is concerned, so its not a big deal, just wanted to make that distinction.
Here is a google search you may want to look at: http://www.google.com/search?&q=javascript%20querystring
Quote from: SlammedDime on June 12, 2008, 03:55:23 AM
M3THOD: Try the attached Display.template.php. :)
Thanks mate that did the job :) there was a missing '; on line 616 but i put it in and works like charm :) :D
Hi!
How i can install and use with babylon theme?
The same way you would with any other theme. Please read the first post of the topic as well as the install instructions carefully in the xml file.
Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)
hey ummm, I just installed the SEO pretty urls mod onto my site...now the ajax function on the quick reply is broken. The javascript doesn't go all the way through. Like I click on Post and the green javascript bar pops up and says Loading... but it doesn't disappear. It just stays never and never follows all the way through. I have to click refresh to see that my post has been made but the ajax/javascript doesn't go through anymore. Is there any compatibility issues between the SEO mod and this mod?
Yes, there are issues.
Open Display.php
if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
if (!isset($_REQUEST['xml']) && (isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
Thanks, works now!
I'm not sure if this problem is related to this mod... just noticed that when I am a guest, my site's template is screwy and my main content area is wrapped by a form id="quickmodform", which is very strange.
any ideas? I've got a screenshot below... and if you go to this link (http://www.kaitech.hk/option,com_smf/Itemid,71/topic,1882.0) you can see it live. once logged in, the issue disappears.
problem doesn't occur inside board index, forum index, no matter logged in or not.
ps. I am still using version 1.0 of the mod, and I made the small edits to xml_topic.js to make it joomla-sef friendly.
That's normal. that form is ALWAYS wrapped around the post, guest or not. Just how the template is made. It's there when you're logged in to.
Ok i have installed (with more problem cause of many other mod and modification to my display.template.php) also to babylon theme and now is ok.
I have pretty urls and i have see that this edit is still integrated:
Quotef (!isset($_REQUEST['xml']) && (isset
All good :)
-
Only one questions: in the first topic post i have see:
Fix for 1.1.5 or B3.1...
and i have inserted goback line:
Quotex[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
but: i dont have this line:
Quotex[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
i have this:
Quotex[x.length] = 'message=' + escape(textToEntities(document.forms.postmodify['message'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
really small difference, is ok?
You should have both. If not, you're not looking in the correct place. It will be in the ajax_reply() function in xml_topic.js. There is more than one line like that, you need to find the specific one.
This is the modification for xml_topic.js:
(small difference with first post patch)
function ajax_reply()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
x[x.length] = 'message=' + escape(textToEntities(document.forms.postmodify['message'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
x[x.length] = 'icon=' + escape(textToEntities(document.forms.postmodify['icon'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
x[x.length] = 'notify=' + escape(textToEntities(document.forms.postmodify['notify'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
x[x.length] = 'num_replies=' + parseInt(document.forms.postmodify.elements['num_replies'].value);
x[x.length] = 'sc=' + escape(textToEntities(document.forms.postmodify['sc'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
// Send in the XMLhttp request and let's hope for the best.
if (typeof window.ajax_indicator == "function")
ajax_indicator(true);
sendXMLDocument(smf_scripturl + "?action=post2;xml", x.join("&"), onPostDone);
return false;
}
function onPostDone(XMLDoc)
{
// We've finished the loading stuff.
if (typeof window.ajax_indicator == "function")
ajax_indicator(false);
// Update the num_replies counter so if the user replies more than once without refreshing, we don't get an error.
document.postmodify.num_replies.value = parseInt(document.postmodify.num_replies.value) + 1;
var myTable = document.getElementById("postTable"), myRow, myCell, myData;
var post = XMLDoc.getElementsByTagName('post')[0];
var errors = XMLDoc.getElementsByTagName('errors')[0];
// If there are errors, its better to just let SMF deal with them, so we'll submit the form and let its take its course
if (errors) {
document.postmodify.submit();
}
// Otherwise, the post was successful so lets add it in.
else if (post) {
myRow = myTable.insertRow((view_newest_first == 1) ? 0 : myTable.rows.length-1);
myCell = myRow.insertCell(-1);
myCell.style.padding = "1px 1px 0 1px";
myData = post.childNodes[0].nodeValue;
setInnerHTML(myCell, myData);
// And empty the post reply box
document.postmodify.message.value = "";
}
else {
window.location.reload(true);
}
}
I have simply inserted this line: x[x.length] = 'subject=' ....
x[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
x[x.length] = 'message=' ...
Sorry, my error with copy and paste line.
The difference is:
First post of this topic:
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
Mod:
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
(see: "&#") instead of: &#")) :)
Thanks for pointing that out. I adjusted the first post.
Thank you too for your work :)
Quote from: SlammedDime on June 13, 2008, 03:45:59 PM
That's normal. that form is ALWAYS wrapped around the post, guest or not. Just how the template is made. It's there when you're logged in to.
okay , thanks. I'll try the general support board...
Thanks for this great mod. Manually installed to my mambo bridged SMF, and it worked like a charm!
This is an awesome mod, I hope you continue to improve and support it. Thanks again! :)
Glad to hear it works with Mambo. I have yet to install it on my live site running Mambo integrated... :( :)
Yep, it does :)
I noticed just now though, that the "inline edit" button/function does not appear on an ajaxed reply. Is that not supported yet? :)
False, i have test at this moment and all works fine ;)
Quote from: SlammedDime on June 01, 2008, 04:23:17 AM
The quick edit button is in fact there, its style is just set to 'display:none'. Unfortunately its due to the way the javascript is setup in SMF. I'll make a change in the next release to fix this.
But with me works fine :)
@slammeddime: alright thanks man! :)
anyhoo, any suggestions on a quick and dirty fix i can do about it, while waiting for the official fix on your next release?
@darkwolf: are you on default theme?
babylon Theme (with some manual fix to install) :)
One minute and i test with default ;)
Sorry, you have reason, with default theme i cant see quick edit button :(
n/m slammed, i made it to work by changing display:none to display:inline.
thanks a lot man, it's working perfectly now. no issues whatsoever! kudos!
still love this mod
Ok I am new to SMF... and not even sure how to turn on the "Quick Reply" feature. I have this mod installed and it still does not show up.
So I figured out how to turn it on through my profile... but is there a way to make it default on for EVERY MEMBER? Or does each member have to go in and edit their profile to make it show up?
Go to admin > current theme > reset options > Reset all members' current options for this theme
Hi. it works perfect.
When we post a new message with this mod.
This button(
) doesn't appear.!
Could you do a tip for this please?
Thanks..
I don't see it really necessary at this point. I need to work on a permanent fix for it, so I don't want to post any hacks or workarounds. If you review this page, you'll see what another individual has done.
Quote from: Badboy on May 30, 2008, 03:28:08 AM
It is not working with ecardmax hot editor. Also i wrote message. It warned me that nothing written. Is it possible to make it work with ecardmax hoteditor?
Thx.
SMF 1.1.5
I have same problam
please help
i need this mod
As I told BadBoy, I cannot support custom editors, especially editors not released on the SMF Mod Site. You should see what modifications that the editor makes to Display.template.php, as well as what changes my Mod makes to that file, and see how you can make it work.
Quote from: SlammedDime on June 21, 2008, 05:32:34 AM
As I told BadBoy, I cannot support custom editors, especially editors not released on the SMF Mod Site. You should see what modifications that the editor makes to Display.template.php, as well as what changes my Mod makes to that file, and see how you can make it work.
it's confusing !
I can't modify
I attached Display.template.php
this codes is changed in display.template.php :
<file name="Themes/default/Display.template.php">
<operation>
<search position="replace"><![CDATA[<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1"></textarea><br />]]></search>
<add><![CDATA[
<!--//HotEditor MOD - Quick Reply -->
<textarea style="visibility:hidden;position:absolute;top:-20;left:-20;width:1px;height:1px" cols="75" rows="7" id="message" name="message" tabindex="1"></textarea>
<style type="text/css">@import url(richedit/styles/office2007/style.css);</style>
<script language="JavaScript" type="text/javascript" src="richedit/editor.js?version=4.2"></script>
<script language="JavaScript" type="text/javascript">
var getdata =document.getElementById("message").value;
Instantiate("min","editor", getdata , "100%", "150px");
function get_hoteditor_data(){
if (HTML_ON == "no"){
alert ("Please uncheck the HTML checkbox");
return false;
}
else{
setCodeOutput();
var bbcode_output=document.getElementById("hoteditor_bbcode_ouput_editor").value;//Output to BBCode
document.getElementById("message").value = bbcode_output;
}
}
</script><br />
<!--//HotEditor MOD Quick Reply -->]]>
</add>
</operation>
<operation>
<search position="replace"><![CDATA[var smf_template_body_edit = \'<div id="error_box" style="padding: 4px; color: red;"></div><textarea class="editor" name="message" rows="12" style="width: 94%; margin-bottom: 10px;">%body%</textarea><br /><input type="hidden" name="sc" value="', $context['session_id'], '" /><input type="hidden" name="topic" value="', $context['current_topic'], '" /><input type="hidden" name="msg" value="%msg_id%" /><div style="text-align: center;"><input type="submit" name="post" value="', $txt[10], '" onclick="return modify_save(\\\'' . $context['session_id'] . '\\\');" accesskey="s" /> ', $context['show_spellchecking'] ? '<input type="button" value="' . $txt['spell_check'] . '" onclick="spellCheck(\\\'quickModForm\\\', \\\'message\\\');" /> ' : '', '<input type="submit" name="cancel" value="', $txt['modify_cancel'], '" onclick="return modify_cancel();" /></div>\';]]></search>
<add><![CDATA[
//HotEditor MOD QUICK EDIT / MODIFY POST
var edit_session_id = "', $context['session_id'], '";
var smf_template_body_edit = \'<div id="error_box" style="padding: 4px; color: red;"></div><iframe frameborder=0 width=100% height=550px src="hoteditor_quickedit.html" scrolling=no target="_top"></iframe><textarea style="visibility:hidden;width:1px;height:1px" id="message" class="editor" name="message" rows="12" style="width: 94%; margin-bottom: 10px;">%body%</textarea><input type="hidden" name="sc" value="', $context['session_id'], '" /><input type="hidden" name="topic" value="', $context['current_topic'], '" /><input type="hidden" name="msg" value="%msg_id%" /><div style="text-align: center;"><input type="hidden" name="post" value="', $txt[10], '" onclick="return modify_save(\\\'' . $context['session_id'] . '\\\');" accesskey="s" /> ', $context['show_spellchecking'] ? '<input type="button" value="' . $txt['spell_check'] . '" onclick="spellCheck(\\\'quickModForm\\\', \\\'message\\\');" /> ' : '', '<input type="hidden" name="cancel" value="', $txt['modify_cancel'], '" onclick="return modify_cancel();" /></div>\';]]></add>
</operation>
</file>
download display.template.php with hoteditor mod :
Not to be an ass, but please read I again, I CANNOT support alternate editors at this time, especially those not available on the SMF Mod site. Perhaps when I have more free time to actually install it and test with it, but that isn't happening right now.
Quote from: SlammedDime on June 21, 2008, 06:00:47 AM
Not to be an ass, but please read I again, I CANNOT support alternate editors at this time, especially those not available on the SMF Mod site. Perhaps when I have more free time to actually install it and test with it, but that isn't happening right now.
thanks
i'm waiting
it seems this code couse error :
<textarea style="visibility:hidden;position:absolute;top:-20;left:-20;width:1px;height:1px" cols="75" rows="7" id="message" name="message" tabindex="1"></textarea>
hoteditor has not textarea & i cant find it becauese it used confusing javascript code .
sorry for my bad english
Why don't you go ask eCardMax? It's his editor, he probably has more knowledge of how that might work. Slammed can't help you.
ok
now i'm using "Enhanced Quick Reply 2.0"
when i wanted to install "AJAX Instant Quick Reply" SMF warn me for errors in display.template.php
i can install it manually but i want to have no errors during installation
Quote from: ndr on June 22, 2008, 11:06:31 AM
ok
now i'm using "Enhanced Quick Reply 2.0"
when i wanted to install "AJAX Instant Quick Reply" SMF warn me for errors in display.template.php
i can install it manually but i want to have no errors during installation
I had the same question in the Enhanced quick reply thread. I installed AJAX instant quick reply first and couldn't install enhanced quick reply 2.0 because they make modifications to the same areas of code... would be great if they worked together!
When I have some time, I will look at the incompatibility. Unfortunately I'm a bit swamped with another mod right now.
In the mean time, be adventurous, try and make them work together. See what modifications they each make to Display.template.php and see if you can figure it out. :)
Yh it doesn't work on my site
here
http://btrc.exofire.net/forums
username = test
password= test
Username doesn't exist.
Did you make the changes to Display.template.php of your custom theme? You MUST do that.
Quote from: SlammedDime on June 27, 2008, 03:34:50 AM
Username doesn't exist.
Did you make the changes to Display.template.php of your custom theme? You MUST do that.
ok user now exists
and no i don't know what to change in the display.template.php
ill attach it if you want to do ...hint (please)
can any one modify my display.template.php ? when i try i getting error please help me.
can so ca nyou edit my file
Quote from: SlammedDime on June 08, 2008, 02:15:51 PM
razor - It looks like the mod wasn't properly applied to your custom Display.template.php file. As for the error you get in the error log, it has nothing to do with the issue you're having. Its a small bug that I've fixed in the next version I'll release when 2.0 Beta 4 comes out.
In the code you posted,
var view_newest_first = ', $options['view_newest_first'], '
and Replace with
var view_newest_first = ', !empty($options['view_newest_first']) ? $options['view_newest_first'] : 0, '
My
display.template.php :
bViewNewestFirst: ', $options['view_newest_first'], ',
template error , what can i do ?
Quote
Tema Hatası!
/Themes/SilkroadMax3/Display.template.php adındaki tema veya dil dosyasının yüklenmesinde sorun var. Lütfen söz dizimini denetleyin ve tekrar deneyin , tek tire işareti önünde tek yatık çizgi olmalı (') ve tek yatık çizgi kullanacaksanız iki tane yazmalısınız (). PHP kodlarında hatayı daha belirgin görmek istiyorsanız, doğrudan dosyaya erişim sağlamayı deneyin.
Tekrar denemek istiyorsanız sayfayı yenileyin veya varsayılan temayı kullanın.
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/SilkroadMax3/Display.template.php on line 862
853:
854: <td class="windowbg" width="100%" align="center"><table border="0" cellspacing="0" cellpadding="0" width="60%" />
855: ', template_enhanced_quick_reply() ,'
856: <tr>
857: <td colspan="2">
858: // We will only do ajax quick reply if
859: // 1) the current page is the last page of the topic or
860: // 2) 'all' isset in REQUEST
861: // otherwise w'll post the old fashioned way.
862: if($context['page_info']['current_page'] == $context['page_info']['num_pages'] || isset($_REQUEST['all']))
863: echo '<input type="submit" name="post" value="' . $txt[105] . '" onclick="return ajax_reply(this);" accesskey="s" tabindex="2" />
864: ';
865: else
866: echo '<input type="submit" name="post" value="' . $txt[105] . '" onclick="return submitThisOnce(this);" accesskey="s" tabindex="2" />
QuoteParse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/SilkroadMax3/Display.template.php on line 736
727: <script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/spellcheck.js"></script>';
728:
729: echo '
730: <script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/xml_topic.js"></script>
731: <script type="text/javascript"> function largerThan(a,b) { return a>b; } </script>
732: <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
733: quickReplyCollapsed = ', !empty($options['display_quick_reply']) && $options['display_quick_reply'] == 2 ? 'false' : 'true', ';
734: var view_newest_first = ', !empty($options['view_newest_first']) ? $options['view_newest_first'] : 0, ' '
735:
736: smf_topic = ', $context['current_topic'], ';
737: smf_start = ', $context['start'], ';
738: smf_show_modify = ', $settings['show_modify'] ? '1' : '0', ';
739:
740: // On quick modify, this is what the body will look like.
Help Please! I try to install it and for some reason not paying attension to warnings or whatever then i get this error everytime i click a topic
ERROR DELETED BY REQUEST.
Zykev2 - please post your Display.template.php
Something got severly screwed up. The warnings are there for a reason, you should pay attention to them.
For the others that have posted thier files. I apologize the delay, I will post up modified versions later today.
Ok so once you do that the problem should be fixed?
Once you attach the file to your next post, I'll be able to fix it so its proper.
if you mean what i downloaded its this
No, please attach Display.template.php from your forum to your post.
Sorry I dont know how to do that any steps to follow... I mean I think I know what you talking about...
You know how to attach files obviously, so you just need to FTP into your site, download Display.template.php from [yoursmfinstall]/Themes/default/ and then upload it here.
There you go :D
So are you going to work on it?
Hey your mod is really excellent.
I have installed and found some errors on display.template. in Theme Default Folder
So i tried Modifiying manually.
Got some big confusions, sitting more than expected
Finally completed the mod without the error. But when i reply it shows loading tries to add but suddenly asusual page refreshes and posts the content.
I have made some changes to the mod. Kindly check my previous and current display.template page Attached.
I've tried following all the steps, however I still continuously get errors for my display.template.php. Do you think you could look through it?
Thanks a lot in advance! I attached both the files from before I started modifications, and after.
Quote from: rickster090 on June 27, 2008, 05:57:37 AM
Quote from: SlammedDime on June 27, 2008, 03:34:50 AM
Username doesn't exist.
Did you make the changes to Display.template.php of your custom theme? You MUST do that.
ok user now exists
and no i don't know what to change in the display.template.php
ill attach it if you want to do ...hint (please)
Attached is your modified Display.template.php.
Because your theme uses Div's to house the posts, I had to implement a simple table structure to make it work. It worked on my test install.
Quote from: Rainboy7 on July 04, 2008, 06:35:57 AM
can any one modify my display.template.php ? when i try i getting error please help me.
Here is yours Rainboy.
Quote from: Zykev2 on July 08, 2008, 04:41:21 PM
So are you going to work on it?
Here is yours. I can't stress enough that you need to pay close attention to when there are errors. You had the mod partially installed twice in the file. If there are errors when you go to install a Mod, DO NOT proceed unless you know what you are doing.
asudhakar - As I stated in the first post of the topic, you must uninstall the View Single Post mod before trying to install this. Please do so and repost your Display.template.php file.
atroquinine - The 'before' file you have doesn't work properly to begin with. There is a bracket that isn't closed somewhere. Once you get it fixed, feel free to repost it and I'll modify it for you.
Quote from: SlammedDime on July 10, 2008, 01:52:44 AM
asudhakar - As I stated in the first post of the topic, you must uninstall the View Single Post mod before trying to install this. Please do so and repost your Display.template.php file.
Yes have read it, but i had forget to remove it.
Before doing kindly help me.
did i have to uninstall Ajax Instant Quick reply, then uninstall View single post.
Or Simply i could try uninstalling View single post.
Because i was worried, that when i click uninstall in ajax instant quick reply. IT shows me two errors at sources/display and template display.
I would suggest manually uninstalling both at this point. It would save you hassles that way.
Thank you for pointing out that there was a bracket I deleted accidentally! I think I was playing around with display formats of things, and forgot to close it with a colon. I tried manually reinstalling ALL my modifications to the original Display.template.php file, but I still couldn't seem to get the AJAX quick reply to work.
Attached is my now working Display.template.php (no more parse errors and includes all modifications I've added to date, but everytime I try to install AJAX QR, I mess up somewhere).
Once again, thanks for your time!
yes i need screen shot plz i have a problem with Ajax Quick Reply
i m replacing SlammedDime Display.templte.php file but my AJax quick reply is not showing and i m also edit my js file Tell me SlammedDime how to set tha step by step configuretion i cant understand Pretty urls i cant edit this file have u sceen shot plz send me this id
[email protected]
iTMaster: You should not be downloading and using any of the Display.template.php files in this topic unless they are specifically directed at you.
In order to enable quick reply in the first place, you need to go to your Look and Layout preferences in your Profile and enable it. Then you need to install it, manual install instructions are available in the same place you downloaded the mod from. If you can't install it with the package parser, you'll need to follow those directions.
Quote from: SlammedDime on July 10, 2008, 02:31:02 AM
I would suggest manually uninstalling both at this point. It would save you hassles that way.
I have safely modified and removed the view single post.
Now tried to install ajax quick Reply.
But shows error in sources/display and themes/display.template.
I have tried to mod manually and souces/display misses only last pretty tag line, so no prob in it.
hope i have lot error in display.template.
Any Idea SlammedDime.
Plz edit my Files and upload here.
asudhakar - You can post your display.template.php here and I can take a look at it.
iTMaster, you've installed the mod twice. You need to go through and manually edit the files to remove the duplicate entries. I don't have time to do all of the work for you.
But sir i cant acess duplicate entries i m also doing all editing in all 3 files but cant showing QR in bottom of page and showing didplay.templete.php error in my forum
Okay iTMaster,
Try these files:
Give the attached file a try. Not sure why it wouldn't work with your package parser, worked fine on this end here. :)
Quote from: atroquinine on July 10, 2008, 04:12:43 AM
Thank you for pointing out that there was a bracket I deleted accidentally! I think I was playing around with display formats of things, and forgot to close it with a colon. I tried manually reinstalling ALL my modifications to the original Display.template.php file, but I still couldn't seem to get the AJAX quick reply to work.
Attached is my now working Display.template.php (no more parse errors and includes all modifications I've added to date, but everytime I try to install AJAX QR, I mess up somewhere).
Once again, thanks for your time!
plz sir u dont log out this forum for this time i m try this files wait
SlammedDime probably has more to do than waiting for you. Be patient and he or somebody else will help you if you have additional problems. This is a forum, which means we're not required to be here 24/7 and available, unlike a chatroom. Please consider other people's lives next time.
i m instaling this mode so show this error
The package you tried to upload either is not a valid package or has become corrupted
i attach the Slamdime Files but showing these error i cant understand this error please solve my problem and some any else i leave SMF script this night
Parse error: syntax error, unexpected T_STRING in .../Themes/default/Display.template.php on line 936
927: // Now change the windowbg value so the post displays with the right color (if its waiting approval then it won't change)
928: $windowbg = (($_REQUEST['num_replies']+1) % 2 == 0) ? '"windowbg"' : '"windowbg2"';
929: $buffer = str_replace(array('"windowbg"', '"windowbg2"'), $windowbg, $buffer);
930:
931: // Now we have just the post that we'll insert into the topic, lets add the XML stuff to it for AJAX.
932: $buffer = '<?xml version="1.0" encoding="'. $context['character_set']. '"function template_ajax_reply() {
933: global $context;
934:
935: // Load up the index template, since we need it for some theme settings and call the init function
936: loadTemplate('index');937: template_init();
938:
939: // First we'll call the template function above to get the post
940: template_main();
Please Solve My PRoblmes
Please don't double post. Edit your post instead.
Quote from: SlammedDime on July 12, 2008, 03:07:51 PM
asudhakar - You can post your display.template.php here and I can take a look at it.
Sure here i go .
First File is Display.php - Showed error - From sources
Second File is Dispaly.template.php - showed error - From Themes/Default
Kindly do let me know what changes you have or you are going to make.
So that next time i could try it when upgrading or reinstalling the mod.
Thanks a lot in Advance. :)
Quote from: iTMaster on July 13, 2008, 04:30:17 PMplz sir u dont log out this forum for this time i m try this files wait
You know, the more you bug people privately about your situation, the far less inclined they will be to help you.
Getting all EMO on people and threatening to leave SMF because you lack the knowledge of knowing how to fix
YOUR problem doesn't do anything but prove that you're an annoying little cretin.
Stop contacting team members. They have *no* obligation to provide you with any support regarding the AJAX Instant Quick Reply modifrication package. In fact, many of them have "NO SUPPORT VIA PRIVATE MESSAGES, EMAIL OR INSTANT MESSAGING" somewhere in their profile... for good reason.
Wait your turn, just like everyone else has. Your site is no more important than anyone else in this thread.
You lack patience. You need to find some.. FAST.
FYI, if you send me a private message regarding this or complaining, it will promptly be deleted, and you will be blocked from contacting me. :)
Hi. I'm using SMF 2.0 Beta 3.1 public.
When I install AIQR on my localhost on default theme I get this ( something like Enhanced quick reply for SMF 1.1.x ).
(http://www.turboimagehost.com/p/519629/1.JPG.html)
But when I install it on work forum on my host, I get nothing.
I'm using Babylon theme on work forum.
(http://www.turboimagehost.com/p/519658/2.JPG.html)
On localhost quick reply is enhanced and has smileys and BBC codes and on my forum there's nothing and Ajax Quick reply doesn't do anything.
Did you manually modify the Babylon theme's default template? I'm pretty sure this won't install onto it automatically in 2.0 like it does the default.
I didn't use Package manager. I manually modified files. Also modified and Display.template.php of Babylon theme.
Now I see AJAX in progres, but still there's not smileys and BBC codes like there's on my localhost.
This doesn't add BBC codes or anything else to the quick reply. If you have that on localhost, and not on your live site, then you haven't added the Enhanced quick reply to your site online.
Actualy, EQR is not for SMF 2.x versions. :)
And I didn't install it on my localhost.
Try to install this mod ( AIQR ) on your localhost and see the result. :)
I have installed it, many a times, and I don't get anything like what your screenshot shows. You're not using any of the files that are attached to topics in this thread, are you? Looks like you've downloaded one from this topic that is for a 1.1.5 version of SMF that someone else had that mod installed on (notice the text strings missing from the post and preview buttons. They are specific to the users who I've directed them towards.
I'm 100% sure that the manual instructions for installing this mod do not include bbc code like you have on your local install.
I've downloaded mod from here http://custom.simplemachines.org/mods/index.php?mod=1214
And then install it to my local host and get the result on the picture. I don't know how.
(http://www.turboimagehost.com/p/520560/1.JPG.html)
(http://www.turboimagehost.com/p/520561/2.JPG.html)
I don't know how either. Try replacing all of your SMF files on your localhost with a fresh copy from the downloads page, then try to install the mod.
Ok. I'll try.
Quote from: SlammedDime on July 10, 2008, 12:46:15 AM
Quote from: rickster090 on June 27, 2008, 05:57:37 AM
Quote from: SlammedDime on June 27, 2008, 03:34:50 AM
Username doesn't exist.
Did you make the changes to Display.template.php of your custom theme? You MUST do that.
ok user now exists
and no i don't know what to change in the display.template.php
ill attach it if you want to do ...hint (please)
Attached is your modified Display.template.php.
Because your theme uses Div's to house the posts, I had to implement a simple table structure to make it work. It worked on my test install.
Was this attached Display.template.php file from my website ?????
Quote from: rickster090 on July 15, 2008, 07:39:28 AM
Quote from: SlammedDime on July 10, 2008, 12:46:15 AM
Quote from: rickster090 on June 27, 2008, 05:57:37 AM
Quote from: SlammedDime on June 27, 2008, 03:34:50 AM
Username doesn't exist.
Did you make the changes to Display.template.php of your custom theme? You MUST do that.
ok user now exists
and no i don't know what to change in the display.template.php
ill attach it if you want to do ...hint (please)
Attached is your modified Display.template.php.
Because your theme uses Div's to house the posts, I had to implement a simple table structure to make it work. It worked on my test install.
Was this attached Display.template.php file from my website ?????
It should have been, why, is it not correct?
Quote from: asudhakar on July 13, 2008, 04:59:03 PM
Quote from: SlammedDime on July 12, 2008, 03:07:51 PM
asudhakar - You can post your display.template.php here and I can take a look at it.
Sure here i go .
First File is Display.php - Showed error - From sources
Second File is Dispaly.template.php - showed error - From Themes/Default
Kindly do let me know what changes you have or you are going to make.
So that next time i could try it when upgrading or reinstalling the mod.
Thanks a lot in Advance. :)
Hope you will help me SlammedDine. Wait for few days
http://www.simplemachines.org/community/index.php?topic=241917.msg1614332#msg1614332
Quote from: asudhakar on July 15, 2008, 03:28:33 PM
Quote from: asudhakar on July 13, 2008, 04:59:03 PM
Quote from: SlammedDime on July 12, 2008, 03:07:51 PM
asudhakar - You can post your display.template.php here and I can take a look at it.
Sure here i go .
First File is Display.php - Showed error - From sources
Second File is Dispaly.template.php - showed error - From Themes/Default
Kindly do let me know what changes you have or you are going to make.
So that next time i could try it when upgrading or reinstalling the mod.
Thanks a lot in Advance. :)
Hope you will help me SlammedDine. Wait for few days
http://www.simplemachines.org/community/index.php?topic=241917.msg1614332#msg1614332
Sorry bud, give these a shot.
SlammedDime,
I have downloaded and tried replacing the existing file, and i have received many series errors as shown and attached below.
Hope you could checkout and help me.Quote
1) When i first replaced the dispaly.template.php file in default Themes folder
Fatal error: Call to undefined function displayThumbsUpButton() in /home/itacumen/public_html/forum/Sources/Load.php(1912) : eval()'d code on line 570
Note : Image 1 attached with error.
2) When i have replaced the display.php file in the souce folder.
Fatal error: require_once() [function.require]: Failed opening required 'ThumbsUp.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/itacumen/public_html/forum/Sources/Display.php on line 281
Note : Image 2 attached with error.
Kindly check out and help me Slammeddime.
That has to do with some Thumbs up mod that you have installed (or perhaps had installed). Neither of those errors have anything to do with my mod. It was present in the files you originally uploaded here for me to modify, so it has nothing to do with the modifications I did.
no this didn't work
What doesn't work about it? Can you give me a link to your site and a test account?
Quote from: SlammedDime on July 16, 2008, 05:45:05 PM
That has to do with some Thumbs up mod that you have installed (or perhaps had installed). Neither of those errors have anything to do with my mod. It was present in the files you originally uploaded here for me to modify, so it has nothing to do with the modifications I did.
But i have installed thumbup mod and uninstalled here.
I understand, that your mod is not doing anything wrong. But no idea for me.
Hope to wait and manually upload later.
Thank you for this Great Mod SlammedDine.
If you installed, then uninstalled the mod, you'll have to manually uninstall the mod from those files. You must have uninstalled it between the time you posted the files and the time I posted edited files for you.
kk my site is
http://btrc.exofire.net/forums
account is test
pass is test
Works quite fine for me. What's it not doing for you?
i cant see the quick reply.
Then you haven't turned it on in your profile. look and layout preferences > show quick reply:
As I've said in this topic, this does not add quick reply to your board (that is a default feature of SMF). it only changes it's functionality.
Thanks how can i make all on for all the other members
http://docs.simplemachines.org/index.php?topic=188.msg213#msg213
Parse error: syntax error, unexpected T_STRING in .../Themes/default/Display.template.php on line 747
738: // Now change the windowbg value so the post displays with the right color (if its waiting approval then it won't change)
739: $windowbg = (($_REQUEST['num_replies']+1) % 2 == 0) ? '"windowbg"' : '"windowbg2"';
740: $buffer = str_replace(array('"windowbg"', '"windowbg2"'), $windowbg, $buffer);
741:
742: // Now we have just the post that we'll insert into the topic, lets add the XML stuff to it for AJAX.
743: $buffer = '<?xml version="1.0" encoding="'. $context['character_set']. '"function template_ajax_reply() {
744: global $context;
745:
746: // Load up the index template, since we need it for some theme settings and call the init function
747: loadTemplate('index');
748: template_init();
749:
750: // First we'll call the template function above to get the post
751: template_main();
I added this mod on my test forum, and now this happens as soon as i try to go into a topic. White page telling me something is wrong. Can't figure out what, though.. o.o'' Does anyone have any idea? (yes, I know that it is telling me what's wrong - unexpected T_STRING - but i don't understand what it means.)
Thanks in advance.
Looks like the mod got installed twice.
I'd use the manual install instructions (found on the download page for the mod) and go through and clean up all of the code from the mod and reinstall it.
gosh. :/ I tried uninstalling, and the forum seems to work fine. However. Installing again gives the errors, once more. Should I still clean the codes? :/ Might be easier to install the forum over. since i've not made any important changes to it. I did a backup, but on the wrong forum. Silly me. ><'
It's giving me errors on my real forum aswell, haven't installed it there thought, the display.template gives errors so i wasn't sure if it was safe to install it, i tried figuring the changes out, but with no luck. :/
If you uninstall it, remnants of the first install will still be there. It's up to you if you want to simply replace all of your forum files. Personally, I'd rather just go through the files the mod modifies and triple check them to make sure the mod is completely gone.
I tried doing package parser but this is what i get:-
ERROR: The package-info.xml file is invalid!
Debugging Information
Error message: String could not be parsed as XML
Source: /home/ars/public_html/package.php:114
Errors encountered while parsing XML file:
Stack Trace:
#0 /home/ars/public_html/package.php(114): SimpleXMLElement->__construct('')
#1 /home/ars/public_html/package.php(75): parsePackageInfoXML('/tmp/package-in...', 'install', 'all')
#2 /home/ars/public_html/package.php(758): parseArchive('/tmp/phpvce2fk', 'install', 'all')
#3 {main}
XML File:
Let me know what happened actually..
Don't use the package parser. At the same page you can download the mod from, there is a little dropdown box with different versions of SMF. Choose your version and click submit to get manual instructions.
Yep but it doesnt give theme edits dont they..???
It shows all edits made by the mod, theme and source files.
Quote from: optimushunk on July 25, 2008, 04:59:42 PM
Yep but it doesnt give theme edits dont they..???
And why is so hard to manually add changes to files of your theme? :)
It shows like default theme edits.. but like sometimes it happens i dont have the text which it asks me to search...
and also the text which i select from there goes in just 1 line rather than dividing into several links of codes....
Please help me to solve this thing up..
Well it would be the best to provide your files which you have to edit, because I don't know which theme you're using and SMF version.
Developer of this mod will probably help you, but if I can help, I will. :)
Check out the files... I have added in the once you need... I think thats all you will need...
Check attachment... Thanks buddy..
You gave me everything except Display.template.php of your Theme.
I've edited you all the files needed, but you'll have to edit Display.templayte.php of Theme you're using.
ehmm... My theme doesnt have display.template.php.. however i have attahced the one from default if you need it.. Please do the needful for me...
Thanks alot..
I have problems with the MOD QuicK ReplY that leaves in the forum ajax, first a installing it throws errors to me with display.template and display... :( :(
I make contingency not covered by law to these two errors and install mod and work on those two archives of form manual, I install and all good, attempt abrir some post I throw and it does not show the instantaneous picture of answer...
There is q to activate something before or it would have to leave one? 1.1.5 use SMF and theme different from defaul.
Down Annex my display.template they see so that it and say to me if it has some error
I wait for Answers and graxias... ;D
PD: They excuse if there is bad spelling is that I do not speak English...
My WeB
http://darkkingdom.exofire.net/foro
Looks like everything was okay except for one part. Try this.
Quote from: NicKCramleT on July 26, 2008, 01:18:50 PM
I have problems with the MOD QuicK ReplY that leaves in the forum ajax, first a installing it throws errors to me with display.template and display... :( :(
I make contingency not covered by law to these two errors and install mod and work on those two archives of form manual, I install and all good, attempt abrir some post I throw and it does not show the instantaneous picture of answer...
There is q to activate something before or it would have to leave one? 1.1.5 use SMF and theme different from defaul.
Down Annex my display.template they see so that it and say to me if it has some error
I wait for Answers and graxias... ;D
PD: They excuse if there is bad spelling is that I do not speak English...
My WeB
http://darkkingdom.exofire.net/foro
It does not work...
Is not the fast answer at the end of the messages It needs that another file raises reviews so that it?
Attach sources/Display.php and Themes/default/xml_topic.js
QuoteAttach sources/Display.php and Themes/default/xml_topic.js
Here they are the archives, thank you very much really by the aid...
Please brother, it excuses the annoyance...
but I seem to me huge mod that you place and I want to add it Web, would like that you helped me to that it appeared...
I wait for answers and thanks
Did you refresh your page?
If you didn't the modifications will not show you to work.
Please copy your edited files again and CTRL + F5 to refresh your page.
hmm... for some reason, when i use the quick reply, ajax seems to be working but then the page refreshes...
You type, then click submit and the loading or w/e div displays, then the page reloads the the new post.. Any idea what would make it half way work?
http://www.drinkingbuddies.ca/forum
Can you provide us a test account?
And a list of installed mods.
yes,
U: tester
P: tester2
and as far as mods go, it was running fine on 1 theme but then i changed themes, and tried to manually add it and here we are...
I've tried and AJAX starts but anyway reloads the page.
Please write here the list of packages you have installed.
Mod Name Version
1. No Spam by Guests! 0.1 [ List Files ] [ Delete ]
2. Buy Me A Beer 1.3 [ Uninstall ] [ List Files ] [ Delete ]
3. SMF Shoutbox 1.16b [ Apply Mod ] [ List Files ] [ Delete ]
4. MCLegendII 1.1 [ Apply Mod ] [ List Files ] [ Delete ]
5. vReportBoard Mod 1.03 [ List Files ] [ Delete ]
6. SMF Staff Page 1.6 [ Uninstall ] [ List Files ] [ Delete ]
7. Users Active in Last 24 Hours 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
8. Users Online Today Mod 1.4.0 [ Uninstall ] [ List Files ] [ Delete ]
9. rant on guests 1.0 [ Uninstall ] [ List Files ] [ Delete ]
10. nneonneo's AJAX ShoutBox 1.16 [ List Files ] [ Delete ]
11. Custom Profile Field Mod 3.19 [ Uninstall ] [ List Files ] [ Delete ]
12. RSS Feed Poster 1.1 [ Uninstall ] [ List Files ] [ Delete ]
13. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0 [ Uninstall ] [ List Files ] [ Delete ]
14. AJAX Instant Quick Reply 1.0.1 [ Uninstall ] [ List Files ] [ Delete ]
17. nneonneo's AJAX ShoutBox 1.20
I think that is the best to contact the developer of this mod to look your Display.template.php of yout Theme.
But one thing. You have 3 shoutboxes?
Two AJAX shoutboxes. This could make some problems to your mod probably.
Not 3, only 1. SMF Shoutbox was removed manually, nneonnoe's 1.16 was uninstalled, but not deleted, and the update 1.20 was installed and is the only shoutbox in function... Thanks for taking the time to look though... I appreciate it :)
No problem, I'm really drowsy and I don't wont to make some mistake.
It's 3am and it's time for bad.
I'm sorry I didn't help you, I hope developer will. :)
i fix the problem thank! =D
Refreshing? :)
drinkingbuddies - can you reinstate that test account for me to use to test this out?
If the ajax works, but then the page refreshes, that means there was either an error on the submission or an XML error.
hi. i found error when i tried to install the package (display.template.php)
my current mods are -
Mod Name Version
1. Show Local Url Titles 1.1 [ Apply Mod ] [ List Files ] [ Delete ]
2. AJAX Instant Quick Reply 1.0.1 [ Apply Mod ] [ List Files ] [ Delete ]
3. SMF 1.0.11 / 1.1.3 Update 1.1 [ List Files ] [ Delete ]
4. SMF Staff Page 1.6 [ Apply Mod ] [ List Files ] [ Delete ]
5. Ad Managment 2.3 [ Uninstall ] [ List Files ] [ Delete ]
6. Add PM Info To header (v1.2) 1.1 [ Uninstall ] [ List Files ] [ Delete ]
7. Spoiler Show And Hide 1.0.3 [ Uninstall ] [ List Files ] [ Delete ]
8. Signature Settings Mod 1.1 [ Uninstall ] [ List Files ] [ Delete ]
9. Global Headers Footers 1.3 [ Uninstall ] [ List Files ] [ Delete ]
10. Seo 4 SMF 0.2.9.9 [ Apply Mod ] [ List Files ] [ Delete ]
11. Personal Message Auto Responder 0.2 [ Apply Mod ] [ List Files ] [ Delete ]
12. Googlebot & Spiders Mod 2.0.3 [ Uninstall ] [ List Files ] [ Delete ]
13. Reason For Editing Mod 1.14 [ Uninstall ] [ List Files ] [ Delete ]
14. Users Online Today Mod 1.4.0 [ Uninstall ] [ List Files ] [ Delete ]
15. Limit A Guests Daily PageViews Mod 1.0 [ Uninstall ] [ List Files ] [ Delete ]
16. Disable shouting 1.0 [ Uninstall ] [ List Files ] [ Delete ]
17. SMFShop 3.0 [ Apply Mod ] [ List Files ] [ Delete ]
18. Contact Page 1.1 [ Uninstall ] [ List Files ] [ Delete ]
19. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0 [ List Files ] [ Delete ]
20. Attachments Mod 1.1 [ Apply Mod ] [ List Files ] [ Delete ]
21. Display Age and Location next to posts 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
22. PM On Registration 1.0.2 [ Uninstall ] [ List Files ] [ Delete ]
pinoypetfinder - that list of mods doesn't really help at all. Please attach your Display.template.php
Removed.
Please attach it to the post, don't copy the code to the post.
okay, here it is..
Sorry for the delay in this post....
u: tester
p: tester2
Saw this mod on a friend's site, and I must say, it was really impressive. So here I am. ;D
I'd love it if you could edit my /Themes/default/Display.template.php for me, thanks.
trying to install but having issues with my display.php
here is my display.php how do you make this scrollbar down?
Edit: Removed code. Please attach the file, don't copy it into the post. - SlammedDime
bfeo and Meeturmaker - I'll edit these in the morning after I wake up.
pls don't forget mine too :D i already attached them on my previous post :)
having a problem installing, I get errors on these two php display files. could you take a look and tell me what you think could be the problem?
is it possible to remove the green bar which appears up on the top ? It would be good to remove it as it doesnt suite much with the black theme or even grey theme backgrounds..
Please let me know how to do it.
Thank you.
Not really, it's part of SMF's AJAX Calls, just like quick editing a message, or loading up extra stats, or any other AJAX functions that SMF uses.
I'd suggest altering the style of the loading bar in the style.css file so it flows better with your theme.
really nice work !
i hope you can modify my display.template.php file too, SlammedDime :)
also, will it work if we install the mod manually? i really want to put this on my forum.. thanks.
Alright, my display.template file is messed up, and I can't fix it.
When I choose a topic, the error says:
Parse error: syntax error, unexpected T_STRING in /www/******/f/r/e/******/htdocs/forum/Themes/default/Display.template.php on line 674
My forum is here:
http://exileint.us.to/forum
nvm. Fixed.
Quote from: ExilE1 on August 15, 2008, 11:34:27 AM
Alright, my display.template file is messed up, and I can't fix it.
When I choose a topic, the error says:
Parse error: syntax error, unexpected T_STRING in /www/******/f/r/e/******/htdocs/forum/Themes/default/Display.template.php on line 674
My forum is here:
http://exileint.us.to/forum
Hopefully, you backed up your files before making this modification. If so, just revert back to your original display.template.php and try again.
I cant find code* in display.php ?
*if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
2.0 Beta 3.1 Public
i install it but yet dont get quick reply option in forum topic why :|?
Where do I enable Quick Reply?
Did you modify my php? not sure If you replied?
My sincere apologies to those awaiting me to do their edits. The last few days have been very chaotic for me and I haven't had time to do much outside of work and deal with personal issues. Once I get some decent sleep tonight I'll be able to reply to everyone's questions and provide everyone's edits.
Thanks for your post. Sorry for it . And i like this mod.
Earlier we have worked to install the mod.
So i would like you to help me to continue.
2. Execute Modification ./Sources/Display.php Test failed
4. Execute Modification ./Themes/default/Display.template.php Test failed
I have already uninstalled the Single post mod.
74. View Single Post 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
Check out the Files and Help me SlammedDime.
Quote from: bfeo on August 11, 2008, 10:52:42 PM
Saw this mod on a friend's site, and I must say, it was really impressive. So here I am. ;D
I'd love it if you could edit my /Themes/default/Display.template.php for me, thanks.
bfeo: here is yours
Quote from: Meeturmaker on August 14, 2008, 03:28:24 PM
having a problem installing, I get errors on these two php display files. could you take a look and tell me what you think could be the problem?
Here is yours. I could not test it due to mods that you have installed, but it should work. If not, you'll need to tell me what exactly does not work and what errors exactly you're getting.
Quote from: ExilE1 on August 15, 2008, 11:34:27 AM
Alright, my display.template file is messed up, and I can't fix it.
When I choose a topic, the error says:
Parse error: syntax error, unexpected T_STRING in /www/******/f/r/e/******/htdocs/forum/Themes/default/Display.template.php on line 674
My forum is here:
http://exileint.us.to/forum
On line 674, you have
';'Change it to
';
Quote from: onel0ve on August 17, 2008, 12:54:23 AM
i install it but yet dont get quick reply option in forum topic why :|?
Because this mod does not add quick reply to your board. As I have said time and time again, it only changes its functionality, it's logic, the way it works. SMF by default already has quick reply installed. See below...
Quote from: Staffy on August 18, 2008, 05:41:21 AM
Where do I enable Quick Reply?
In Look and Layout Preferences in your profile.
Quote from: SlammedDime on August 19, 2008, 03:40:49 PM
Quote from: pinoypetfinder on July 30, 2008, 09:16:58 AM
okay, here it is..
Here is yours pinoypetfinder.
thank you. but i'm still having error on display.template.php even after uploading this edited file :(
i'm not sure if this will help, but here are the mods currently installed on my forum -
1. Googlebot & Spiders Mod 2.0.3 [ Uninstall ]
2. Ad Managment 2.3 [ Uninstall ]
3. Add PM Info To header (v1.2) 1.1 [ Uninstall ]
4. Global Headers Footers 1.3 [ Uninstall ]
5. Disable shouting 1.0 [ Uninstall ]
6. Contact Page 1.1 [ Uninstall ]
7. Reason For Editing Mod 1.14 [ Uninstall ]
8. Users Online Today Mod 1.4.0 [ Uninstall ]
9. PM On Registration 1.0.2 [ Uninstall ]
10. Signature Settings Mod 1.1 [ Uninstall ]
11. Limit A Guests Daily PageViews Mod 1.0 [ Uninstall ]
12. Spoiler Show And Hide 1.0.3 [ Uninstall ]
You'll have to be more specific than 'Im having a problem'. You should install the mod, then replace your display.template.php with what I provided, ignoring the errors the package manager will throw
Hi Author, Looking for an update . :)
http://www.simplemachines.org/community/index.php?topic=241917.msg1666696#msg1666696
I tried installing this mod on other themes, but for some reason BlackRain (v1) wouldn't show up on the list. It's the 2.0 compatible version of BlackRain, so I don't get it. What's odd is that BlackRain v2 which I also have installed did show up on the list.
Quote from: SlammedDime on August 20, 2008, 05:58:42 AM
You'll have to be more specific than 'Im having a problem'. You should install the mod, then replace your display.template.php with what I provided, ignoring the errors the package manager will throw
i just installed the package, ignored the error on the display.template.php file and replaced it with the one you edited, but when i tried to reply, the whole page/thread still reloads - i mean it's not the same as the one on your demo video.
You'll need to provide me with a test account on your site to test it out then so I can see what it's doing.
hello slammed
i installed this mod , and this is a great mod
its most used on the Vb , when installing it , i had no error
i'm running smf1.1.5 , a custom theme , but the quick reply doesnt apper ..
dunno whats wrong
sorry for bothering .. and would be glad if u could help
a link to my website (http://www.jordan-id.com)
Earlier we have worked to install the mod.
So i would like you to help me to continue.
2. Execute Modification ./Sources/Display.php Test failed
4. Execute Modification ./Themes/default/Display.template.php Test failed
I have already uninstalled the Single post mod.
74. View Single Post 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
Check out the Files and Help me SlammedDime.
Quote from: asudhakar on August 20, 2008, 06:17:31 AM
Hi Author, Looking for an update . :)
http://www.simplemachines.org/community/index.php?topic=241917.msg1666696#msg1666696
Quote from: SlammedDime on August 21, 2008, 03:17:18 AM
You'll need to provide me with a test account on your site to test it out then so I can see what it's doing.
here it is.
forum url : http://www.pinoypetfinder.com/forum/
username : test
password : test1
thanks in advance :)
and oh, the theme is still set to "defaultl smf theme", I just replaced the images of the default smf theme with the one i have now so that i won't have problem installing mods. :)
Worked just fine for me. Clear your cache and try again.
just cleared my cache :) and yup! it worked. thanks a lot :)
Quote from: jordanid on August 21, 2008, 03:52:47 AM
hello slammed
i installed this mod , and this is a great mod
its most used on the Vb , when installing it , i had no error
i'm running smf1.1.5 , a custom theme , but the quick reply doesnt apper ..
dunno whats wrong
sorry for bothering .. and would be glad if u could help
a link to my website (http://www.jordan-id.com)
the account is Mod , pass :102030
Thanks for a good mod.
I've been trying to read all the replies but I don't think this has been asked before...
Where can I change the collors for the ""Loading..." thing that comes up? Its green collor really is a mismatch with my forum :).
^my forum doesn't show that green "loading..." thingy. i don't know why, but the mod is working the way it should be :)
Hey Slammed... Glad your you're back and active again. I re-activated the test account on my forum if you can take a glance. I would appreciate it. Thanks again.
OP#1 - http://www.simplemachines.org/community/index.php?topic=241917.msg1635180#msg1635180
OP#2 - http://www.simplemachines.org/community/index.php?topic=241917.msg1635206#msg1635206
jordanid - please read other posts in this topic. This mod does not add quick reply to SMF. That is already a default feature. It only changes it's functionality. You can enable quick reply in your Look and Layout preferences in your profile.
asudhakar - Here are your files. I could not test them because of mods you have installed, so let me know how it goes. Don't forget to clear your cache first. Install the mod, ignore the errors, then replace these files.
Malke - In style.css of your theme, near the bottom, div#ajax_in_progress or similar declaration.
pinoypetfinder - Probably because your theme probably doesn't have it, or your using an old theme on a new version of SMF.
drinkingbuddies_ca - Sorry, this is sort of my fault, but in Display.template.php, in the template_ajax_reply function, find
<smf>
<post>]]><<![CDATA[![CDATA[' .
$buffer .
']]]]><![CDATA[></post>
</smf>';
and replace it with
<smf>
<post><![CDATA[' .
$buffer .
']]></post>
</smf>';
Then try again.
Ok. Made the change. It makes the post and the page doesn't refresh. However the post doesn't show up on the page.
If that makes sense.
In Display.template.php, you have a piece of code required by this mod commented out...
// var view_newest_first = 0;
uncomment that line by removing the //.
ok. Changed. try now and see what happens... The post seems to float at the top.
Thanks for the help.
Can anybody modifiy this file to include Instant Reply ?
Quote from: TechPrince on August 26, 2008, 06:04:51 PM
Can anybody modifiy this file to include Instant Reply ?
Unfortunately, it won't work with your display template. The newest version in the works that is compatible with Beta 4 might be, but I'm still in the process of re-writing the javascript to work with tableless themes (as is in Beta 4).
drinkingbuddies - My apologies, but it appears that because of the way that your template is setup, the ajax quick reply won't work. It's almost a similar reason to the above. Your posts are each contained inside their own table, whereas most SMF themes (prior to 2.0 Beta 4), have one table that encompasses all of the posts, each in their own row. That is how the AJAX for this works, by inserting into a new row in the table. It may be possible to modify the template to work, but unfortunately it isn't something I can do at the moment.
Thanks for all the help. I may look into making the necessary changes within the template...
hey guys..
i just installed this MOD
and nothing appeared up..so i read something and it says i gotta go into Profile and go Look And Layout
and enable it for me..
so i checked it out and it worked..
so i was wondering if it worked for others that dont know about the Ajax reply..
so i made a new account..
but it was DEFUALT!
is there anyway i can put it as defualt for members to use it? rather then them going 2 their profile and do it?
thank you heaps!
I've installed the mod.. and I do have a custom theme... so I used SMF Parser and got this error this error
QuoteERROR: The package-info.xml file is invalid!
Debugging Information
Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:184
Errors encountered while parsing XML file:
Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(184): SimpleXMLElement->__construct('')
#1 /home/sleepy1/public_html/PackageParser/index.php(125): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'all')
#2 /home/sleepy1/public_html/PackageParser/index.php(823): parseArchive('/tmp/phpgSRBLY', 'install', 'all')
#3 {main}
XML File:
So I went ahead and tried to get the codes from the install file.... and let me tell you! I TRIED! but my god it's VERY confusing....
If anyone can post what codes and where I need to put them.
I'm using SMF 1.15...
thanks!
Don't use the package parser from Sleepy's or Dan's site, use the manual instructions available on every mod's download page. Select your version of SMF from the drop down box below the download link and click the Submit button.
Quote from: SlammedDime on August 27, 2008, 02:03:04 AM
Don't use the package parser from Sleepy's or Dan's site, use the manual instructions available on every mod's download page. Select your version of SMF from the drop down box below the download link and click the Submit button.
Well, I went ahead & modified my display.template.php and this is the error I get.. It happened before as well... the other things that were told to modify I do not have under my themes... any idea? thanks!
QuoteThere was a problem loading the /Themes/fire/Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
As the error message says, try accessing the file directly (it should provide a link in the error message), and php will tell you the exact error and where.
Quote from: SlammedDime on August 28, 2008, 03:47:16 AM
As the error message says, try accessing the file directly (it should provide a link in the error message), and php will tell you the exact error and where.
Well I tried it again just incase I did it wrong and same error
Quote
Template Parse Error!
There was a problem loading the /Themes/fire/Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
syntax error, unexpected '<'
I clicked
access the file directly and I get this
QuoteParse error: syntax error, unexpected '<' in /var/www/vhosts/bxwarez.com/httpdocs/Themes/fire/Display.template.php on line 509
Now ok I understand that the error is on line 509. BUT how do I find line 509... Do I have to count??? that would be nuts lol!!
I have attached the file here if you can tell me where this error is...
Thanks again!
When you copied the code from the manual install instructions, everything pasted onto one line, instead of multiple lines as the code is. You should go back through all of the manual changes and ensure that everything is formatted as it looks in the manual instructions.
As for counting lines... hell no... lol. Any decent text editor shows line numbers, Notepad++, Textpad, for starters.
/?/
:)
Yea I figured that much when I pasted it, it went in one line.... I shall try what you said thanks a lot!
Display.template.php (45.54 KB - Yükleme: 1 kez.)
Ooo geliyor geliyor... (:
Your connection might be too fast to see a noticeable difference. But for those on slower connections, it means the difference between a pageload and not.
It may also (depending how Slammed coded it) be a decrease of queries for your pageloads, which is less load on your server.
There's a few other mods that use ajax as well, that might be easier to see how they work.
Nneonneo's shoutbox
AJAX Recent Topics
AJAX Personal Text
Are some of them.
I cannot Find:-
if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
In my display.php What shall I do ?
Please let me know..
Do you have pretty URLs installed? If not, then you shouldn't be looking for that line.
I had it installed, but had some problems, so i removed the mod and it didnt show me any errors.. then i deleted off as i didnt want it anymore... but i think the edit didnt happen while uninstalling...
Instead of the AJAX feature, what I am getting is the page reloading and showing the topic scrolling to my reply. What am I missing here?
Quote from: jepot5 on September 06, 2008, 09:04:37 AM
Instead of the AJAX feature, what I am getting is the page reloading and showing the topic scrolling to my reply. What am I missing here?
I'm having the same problem. I recently upgraded from SMF 2.0b3.1 to 2.0b4.
I can't find the line " if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters']) " anywhere in Display.php.. and I *do* have pretty urls enabled.
This mod WILL NOT work with Beta 4. I don't plan on updating it to work 2.0 until the RC stages. There are many template changes still to come, and it would be quite cumbersome to re-program the javascript for each release.
Quote from: jepot5 on September 06, 2008, 09:04:37 AM
Instead of the AJAX feature, what I am getting is the page reloading and showing the topic scrolling to my reply. What am I missing here?
Have you cleared your browser cache so the smf javascript files could reload fresh into the browser? If so, and you're still having this problem, I can't do much without a link to your site with a test account.
Quote from: SlammedDime on September 11, 2008, 03:39:46 AM
This mod WILL NOT work with Beta 4. I don't plan on updating it to work 2.0 until the RC stages. There are many template changes still to come, and it would be quite cumbersome to re-program the javascript for each release.
Is there any way to get it to output what errors it's encountering so I can know what to change?
I'm trying to solve this myself. Quite determined to get all of the mods I use from beta 3.1 to work with beta 4.
It wont work with Beta 4 because of it's tableless layout for posts. I haven't had time to research inserting posts in a dynamic way, but like I said, there are still changes forthcoming in the templates.
It is not working with ecardmax hot editor. Also i wrote message. It warned me that nothing written. Is it possible to make it work with ecardmax hoteditor?
I sent you some pm's. Please ignore them.
What i need help is when I use quick reply, what happens is that the page refreshes slowly like my cache is cleared. How can I turn off the option of cache being cleared?
Hi
I am using this mod:
http://custom.simplemachines.org/mods/index.php?mod=883
How i can this and that mod in my Display.template???
Thanks
It will not work with the ecardmax editor. Perhaps you can ask them how to integrate it.
jepot - I got your PM's, but you only gave me a username, no password. I need both to login.
NIBOGO - You'll have to follow the manual install instructions, since the whitespace differs, but the instructions are the same.
Quote from: jepot5 on September 12, 2008, 07:19:09 PM
I sent you some pm's. Please ignore them.
What i need help is when I use quick reply, what happens is that the page refreshes slowly like my cache is cleared. How can I turn off the option of cache being cleared?
Please follow these instructions:
Open Display.template.php
<smf>
<post>]]><<![CDATA[![CDATA[' .
$buffer .
']]]]><![CDATA[></post>
</smf>';
and replace it with
<smf>
<post><![CDATA[' .
$buffer .
']]></post>
</smf>';
Then try again.
Thanks SlammedDime,
it's all good now.
this works with 1.1.6?
It should. I haven't tested it yet however.
Hello,
I just tried to install this mod on the default template, I'm using SMF 1.1.6
This is what I am getting when I install it..
Installations actions for "AJAX Instant Quick Reply":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Errors.php Test successful
2. Execute Modification ./Sources/Display.php Test successful
3. Execute Modification ./Sources/Post.php Test successful
4. Execute Modification ./Themes/default/Display.template.php Test failed
5. Execute Modification ./Themes/default/xml_topic.js Test successful
6. Execute Modification ./Themes/default/Xml.template.php Test successful
What mods do you have installed?
one question...when the package manager shows a test failed...
if i click on continue, what happen to that "error" file? no modifications there?
It seems don't work with Google Chrome,
the "loading" box will appair, but i need to "f5" for show the reply
Quote from: fiorebat on September 18, 2008, 11:12:40 AM
It seems don't work with Google Chrome,
the "loading" box will appair, but i need to "f5" for show the reply
it works for me!!! with google crhome
Quote from: matasanos on September 18, 2008, 09:33:56 AM
one question...when the package manager shows a test failed...
if i click on continue, what happen to that "error" file? no modifications there?
No, it will install everything to that file that it can without error. If there are 5 modifications to the file, and one fails, the package manager will show the file as failing, but it will still install the 4 that didn't fail.
QuoteIt is not working with ecardmax hot editor. Also i wrote message. It warned me that nothing written. Is it possible to make it work with ecardmax hoteditor?
Quote from: SlammedDime on September 13, 2008, 02:46:16 PM
It will not work with the ecardmax editor. Perhaps you can ask them how to integrate it.
I can post my own quotes too! Perhaps you should read them so I don't have to repost them.
upss..i have a little problem..
all works fine, except one thing
i have hide bbc mod installed...
and when a post has [hide] if someone response...ajax works..but nothing unhidden...content still hidden
any solutions?
And what happens after you refresh the page? I have no idea how the hide BBCode works, perhaps you can explain how it is supposed to work for you.
if you refresh the page all is ok..content is now unhidden
you can see it here for example
http://www.lords-beer.net/foro/index.php?topic=10723
user: test
pass: test
There's nothing that can be done about that, it's just the nature of how AJAX reply works vs how the 'hide tag' mod works.
uhm..so no solution.... :(
No, sorry.
I love this modification! It ROCKS!!!!
Hi guys, What could cause this?
Using 1.1.6
Quote from: alex30 on September 25, 2008, 12:23:53 PM
Hi guys, What could cause this?
Using 1.1.6
multiple mods modify this file
Can you give more details, I didn't get that? Thanks you.
It isn't possible to say without having the file. Chances are that you have other mods (as matasanos stated) that modify similar parts, like view single post mod (which must be uninstalled prior to installing this), a different quick reply box, ad management mod, or others, that are affecting it. While I haven't tested the mod on 1.1.6 yet, it should work on a default 1.1.6 install without issue.
this mod works on the other themes?
It is possible to work on any theme... some may require lots of work, others may require little work. If the theme is based on smf's Core theme, pre-Beta 4, then it is pretty easy to install it. If it is based on beta 4's core, or is a semantic theme, I haven't finished a version for that yet. The javascript and setup is quite different.
I installed this mod, and what I do to next?
That's a pretty vague question.. perhaps you can clarify a bit?
I have installed mod, but i don't know what can I do to that appeared "reply windows" in topic under the lastest post.
You have to turn on Quick reply in your Look and Layout Preferences in your profile. Again, this does not add quick reply to SMF. That is a default feature. It only changes it's functionality.
I have installed this mod , I have a lot of errors but i fix everything but when I create a new post this new post appear in the first post of the topic :s
What i can do?
i am new to smf.
i have installed ajax quick reply but how to enable it.
Quote from: aayushagrawal90 on September 30, 2008, 10:52:20 AM
i am new to smf.
i have installed ajax quick reply but how to enable it.
Quote from: SlammedDime on September 27, 2008, 06:05:48 PM
You have to turn on Quick reply in your Look and Layout Preferences in your profile. Again, this does not add quick reply to SMF. That is a default feature. It only changes it's functionality.
When I tried to edit my Display.template.php, I got a few errors after multiple trys.
Can you try to do it for me?
Display.template.php is attached.
ok, there is something weird happening.
I have installed this mod, as i post a reply, the reply gets posted but is not shown and also the reply still stays over in the quick reply box. Any idea how to solve it ?
link to site:- http://goldysun.com
my test installation have problem with the theme/default/display.php what do i do?
Bump:
Quote from: NIBOGO on September 27, 2008, 10:51:16 PM
I have installed this mod , I have a lot of errors but i fix everything but when I create a new post this new post appear in the first post of the topic :s
What i can do?
Thanks a lot
davomex - what you have to do with any mod that fails on a file, manually edit it.
Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)
NIBOGO - I can't do much for you without a link to your site and a test account.
Quote from: F.L.A.M.E.R on October 02, 2008, 12:33:13 PM
ok, there is something weird happening.
I have installed this mod, as i post a reply, the reply gets posted but is not shown and also the reply still stays over in the quick reply box. Any idea how to solve it ?
link to site:- http://goldysun.com
Site was down for sometime, i have moved host, you should now be able to see it. Kindly help me fix it on the explaination at the moment, You may see it visually as it is up. I am trying to fix it over my pc at the moment.
Every time I try to visit your site, IE and Firefox lock up on me.
Plus, I'll need a test account to play with.
PM sent to you with details.
I'm having trouble with this mod. This is the error I get:
QuoteTable 'che0801302144290.ajax_chat_online' doesn't exist
File: /home/content/r/b/r/rbrown1990/html/Sources/BoardIndex.php
Line: 359
I'm running SMF 1.1.6. How do I fix this?
That error is not related to this mod. It is related to whatever AJAX chat mod you have installed.
I tested this Mod with SMF v1.1.6 on 3 different browsers: IE8 and FireFox 3 and Maxthon (http://www.maxthon.com/).
For those who don't know Maxthon, I give a brief introduction: Maxthon is a multi-tab browser using IE as the core engine, it has many enhanced features to ease your surfing experience.
This Mod worked very well on both IE8 and FireFox 3, but when testing on Maxthon, it faild. When I enter some text into the textarea for Quick Reply and clicked "Submit" button, the page redirected me to the full-feature Reply page and shew me an error message in red color as:
QuoteYour session timed out while posting. Please try to re-submit your message.
I tried to log out and log in again, but this error happened again. I tried many times on Maxthon browser, all failed.
Can anyone help me to find out what is wrong? It is a problem of the Mod, or just something wrong in Maxthon browser?
Thanks.
I would guess it's a problem with the browser... I've tested in IE6, IE7, IE8, FF, and the extension for FF that allows you to render pages with the IE engine, and I've had no issues.
Could anyone or the author of this Mod make it compatible with Maxthon browser? It is a very popular browser with multi-language interface, maybe millions of people are using it everyday around the world.
Please try Maxthon browser one time, I am sure you will love it.
Thanks.
@SlammedDime
Any updates over my problem ?
I haven't forgotten about you, I'll take a look when I get home from work today.
baijianpeng - I'll take a look into it, but I can't promise anything. I don't see why it wouldn't work out of the box, but I'll see what I can do.
i have 1.1.6. I just installled your mod. But I cannot find any configuration to enable any Quick Reply.
Are there any problem? Or do i need to modify any of my board?
here is the link to my board
http://www.abactoday.com/webboard/index.php
Thanks
New issue: I don't know if this problem only happens on my forum. When I press the Submit button of Quick Reply field, sometimes it has no response. So I just clicked that button for two more times, then I noticed that it start to send the message. But the result is, I got several identical duplicate messages posted.
My suggestion: could you please let the Submit button can only be pressed once? I mean, let it dim down and trun flat after the first click, then we can't click it again to avoid duplicate posts.
Thanks.
any updates about my problem ? it has been like 2 days after the information was given up. I am sorry if i am bugging a bit into your personal life, but i seriously need to get thte things sorted out :)
FLAMER - You didn't completely install the mod on Display.template.php.
You missed this step:
quickReplyCollapsed = ', !empty($options['display_quick_reply']) && $options['display_quick_reply'] == 2 ? 'false' : 'true', ';
var view_newest_first = ', (!empty($options['view_newest_first']) ? $options['view_newest_first'] : '0'), '
sadly enough, hosting problems kept me away from testing it. Hopefully i will be giving you the answer if it works out or not as i get things right again. ;)
Hi
I was wondering if it's possible to automatically enable showing the quickreply box unless the user specifically chooses "don't show at all"? It seems to me that option is the default when registering :/
Thanks
At last I figured out why there were so many problems when I installed AJAX Instant Quick Reply v1.1 on my SMF 1.1.6.
My SMF 1.1.6 was integrated with Joomla! 1.0.15 by the Joomlahacks bridge: JSMF.
The forum address is : http://www.joomlagate.com/component/option,com_smf/Itemid,31/ (http://www.joomlagate.com/component/option,com_smf/Itemid,31/)
After the AJAX Instant Quick Reply Mod installed, it can't work on Maxthon browser (http://www.maxthon.com), but can work on IE8 and FireFox3.
However, the most annoying thing is, if someone replied with this AJAX Instant Quick Reply feature, then the URL of his new post in the notification E-mail will show as unwrapped SMF URL, not the integrated URL.
For example, I will got notification email containing following style URL:
Quote
http://www.joomlagate.com/smf/index.php?topic=3102.new;topicseen#new
But my forum used to send out URLs like this:
Quote
http://www.joomlagate.com/component/option,com_smf/Itemid,31/topic,2042.new/topicseen,1/#new
So I think this Mod is not compatible with JSMF bridge. I decided to uninstall it.
Yestoday I uninstalled this Mod, and the URLs in notification emails turned to correct ones.
But today, I noticed that when I try to use the original Quick Reply of SMF, it just log me out when I clicked the Submit button. At the same time, the status bar of the browser window indicated that there were several script errors on that page.
I remember that I can use the original Quick Reply before tried this Mod. And I had uninstalled this Mod without any error message. Is it not been uninstalled completely? What can I do to fix this problem now?
BTW: Is it possible to let AJAX Instant Quick Reply Mod support bridged SMF , I mean send out wrapped URLs in notification emails ? This Mod looks very cool.
Thanks.
I don't think it would work using that bridge because of the code modifications that it makes to SMF. It would probably work with the Mambo bridge that we distribute here.
As for your current problems, all I can suggest is looking at the install instructions and tracing your files to make sure you completely removed it.
Thanks to SlammedDime , if this Mod will not support JSMF bridge, I have to abort it since I can't change or uninstall my current bridge.
hi
i'm with smf 1.1.6 and extreme6 theme, and i can't make the mod works!
can you please edit the file for me?
thanks!
Quote from: Rap4Life on October 22, 2008, 09:40:34 AM
hi
i'm with smf 1.1.6 and extreme6 theme, and i can't make the mod works!
can you please edit the file for me?
thanks!
...?
Try this Rap4Life...
Install the mod first (if not already installed), then upload this file and overwrite your current template.
Greetings SlammedDime,
On my test forum I am using webtechnica's AA New Damage v2 theme.
I put in hours of work trying to figure out how to apply the ajax quick reply to the theme.
I think I'm almost there, but one major problem, after posting, instead of the post showing up at the bottom of the thread, it shows up at the top of the page.
Any help will be appreciated.
Thanks
Here's the link to my test forum
http://wlcphoto.com/51/forum
user: 007
pass: test
Ajax Quick Reply Test Topic:
http://wlcphoto.com/51/forum/index.php?topic=43.0
On the 3rd page I posted the link to my display template.
http://www.mediafire.com/?sharekey=014153436a0de413ab1eab3e9fa335cabb07bbb539f0ce57
can you do the Display.template.PHP, ive tried, but it says Template parsing error
Some probs in my site. AJAX not working now, it just refreshes the site.
Here is my Display.template file.
I've attached my Display Template to this post:
heres mine, without Mediafire
I'll take care of these tomorrow guys, I don't have my laptop with me that has my test stuff on it right now
now i know why it isnt working, when you select "Post" it doesnt post, but you need to refresh
EDIT: use this Display, the others didnt have the Quick reply
Nfanthr33 - Try the attached.
TechPrince - Try this
Quote from: Elijah Bliss on October 29, 2008, 06:40:53 PM
I've attached my Display Template to this post:
I don't see anything wrong, other than the spacing being off, and there is some extra <div> text after ?> that needs to be removed from the file. I'm not sure what FTP client you're using to upload and download files, but I'd find a new one if that one put that text in there.
Quote from: SlammedDime on October 30, 2008, 04:17:22 PM
Quote from: Elijah Bliss on October 29, 2008, 06:40:53 PM
I've attached my Display Template to this post:
I don't see anything wrong, other than the spacing being off, and there is some extra <div> text after ?> that needs to be removed from the file. I'm not sure what FTP client you're using to upload and download files, but I'd find a new one if that one put that text in there.
So why does the posted reply show up at the top of the thread instead of showing up at the bottom where it belongs?
Can you give me a test account to use and see it and test? It should only be doing that if that's how you have your SMF preferences set.
Quote from: SlammedDime on October 30, 2008, 05:55:06 PM
Can you give me a test account to use and see it and test? It should only be doing that if that's how you have your SMF preferences set.
link: http://wlcphoto.com/51/forum
user: 007
pass: test
Ok, after looking closer at your template and actually seeing it in action on your site, this isn't going to work on your template. Your template uses one large table to hold all of the posts, which are then contained in Div's... so if you have 5 posts on a page, you'll have a table with one cell that has 5 div's inside it.
The way it needs to work for this version of the mod is the way that SMF's default theme works... if there is 5 posts on a page, then there will be one table with 5 cells in it. The mod then adds another cell to the table that contains the post.
The next version that I release for SMF 2.0 will allow for semantic themes, but I won't be backporting it to 1.1.x, since 1.1.x does not have a semantic theme.
8: Undefined index: view_newest_first
File: /var/www/html/forum/Themes/default/Display.template.php (eval?)
Line: 788
this still happens.....
Quote from: SlammedDime on October 30, 2008, 06:22:18 PM
Ok, after looking closer at your template and actually seeing it in action on your site, this isn't going to work on your template. Your template uses one large table to hold all of the posts, which are then contained in Div's... so if you have 5 posts on a page, you'll have a table with one cell that has 5 div's inside it.
The way it needs to work for this version of the mod is the way that SMF's default theme works... if there is 5 posts on a page, then there will be one table with 5 cells in it. The mod then adds another cell to the table that contains the post.
The next version that I release for SMF 2.0 will allow for semantic themes, but I won't be backporting it to 1.1.x, since 1.1.x does not have a semantic theme.
I understand.
Thanks big time for the help.
Quote from: Nfanthr33 on October 30, 2008, 07:28:58 PM
8: Undefined index: view_newest_first
File: /var/www/html/forum/Themes/default/Display.template.php (eval?)
Line: 788
this still happens.....
var view_newest_first = ', $options['view_newest_first'], '
var view_newest_first = ', !empty($options['view_newest_first']) ? $options['view_newest_first'] : '0', ';
I installed the mod , and fixed the thing of "xml_topic.js" montioned in your first post .... after that got nothing special , no quick replay... :'(
i'm using french language ,pretty urls, and babylon theme ....
my display.template of babylon is attached here ...
Thanks by advence ...
Here is my forum link : www.evanels.eu/forum/
Did you enable quick reply? Did you make an attempt to edit Display.template.php?
Quote from: jossanaijr on June 07, 2008, 04:04:21 PM
Hi SlammedDime,
any news about the use of Ad Management Mod?
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board. xml_topic.js too.
Quote from: jossanaijr on June 07, 2008, 04:26:29 PM
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board. xml_topic.js too.
OK but I only can do it tomorrow. No FTP right now. Thanks.
Quote from: jossanaijr on June 08, 2008, 08:39:32 AM
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board. xml_topic.js too.
Quote from: jossanaijr on June 08, 2008, 05:15:45 PM
Quote from: SlammedDime on June 08, 2008, 02:22:28 PM
jossanaijr - Here you go. Give these two a shot. That should do it for you.
Yes. Fixed! Thank you very much! Great!
Hi SlammedDime,
I'm having an error and not sure if it is because of this mod.
When posting a reply, the reply is shown before the last post (like 1,2 -> 1,3,2). When I reload the page it changes to the correct sequence (1,2,3).
I did not uninstall it yet because I'll have to do it manually. What do you think?
Quote from: SlammedDime on October 31, 2008, 12:51:24 PM
Did you enable quick reply? Did you make an attempt to edit Display.template.php?
Thank you for replying fast ...well , for enabling quick replys i have no idea where can i find this obtion , i searched for it in all administrator's tools but in vain .... i dunno how can i activate it.
about editing the Display.template.php, no i did not...
Sorry for my bad English
Quote from: xakiru on October 31, 2008, 08:26:58 PM
Quote from: SlammedDime on October 31, 2008, 12:51:24 PM
Did you enable quick reply? Did you make an attempt to edit Display.template.php?
Thank you for replying fast ...well , for enabling quick replys i have no idea where can i find this obtion , i searched for it in all administrator's tools but in vain .... i dunno how can i activate it.
about editing the Display.template.php, no i did not...
Sorry for my bad English
Admin/Current Theme/Reset Options/Reset all members' current options for this theme/Use quick reply on topic display
ho do i add BBC, the color BBC i installed was some how added to the Quick reply
Thank you so much , it's working great ... i didn't know where to edit these things ... very helpfull
And thank you again for this awsome mod !!!
any 2.0 beta 4 update?
No, there won't be any more updates until 2.0 RC 1 is released, or maybe even RC 2 depending on the states of the templates. I know they are in the process of still converting to a semantic flow, so it will hinge on that.
I went ahead and installed this using the package manager but am not seeing any changes to my theme. I was looking for what I may need to edit in my templates but do not see anything provided. Any ideas?
If your theme has it's own Display.template.php, you'll need to make the edits to that file that are prescribed in the manual install instructions that you can view by selecting your version of SMF from the dropdown menu on the mod's download page, then clicking submit below that.
bumping...
Quote from: jossanaijr on October 31, 2008, 05:45:04 PM
Quote from: jossanaijr on June 07, 2008, 04:04:21 PM
Hi SlammedDime,
any news about the use of Ad Management Mod?
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board. xml_topic.js too.
Quote from: jossanaijr on June 07, 2008, 04:26:29 PM
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board. xml_topic.js too.
OK but I only can do it tomorrow. No FTP right now. Thanks.
Quote from: jossanaijr on June 08, 2008, 08:39:32 AM
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board. xml_topic.js too.
Quote from: jossanaijr on June 08, 2008, 05:15:45 PM
Quote from: SlammedDime on June 08, 2008, 02:22:28 PM
jossanaijr - Here you go. Give these two a shot. That should do it for you.
Yes. Fixed! Thank you very much! Great!
Hi SlammedDime,
I'm having an error and not sure if it is because of this mod.
When posting a reply, the reply is shown before the last post (like 1,2 -> 1,3,2). When I reload the page it changes to the correct sequence (1,2,3).
I did not uninstall it yet because I'll have to do it manually. What do you think?
You should make this functional for 1.1.6
It should work for 1.1.6 without.
jossan - can you post your xml_topic.js file please.
Attached.
Open up that file locally, and find this block of code
// Otherwise, the post was successful so lets add it in.
else if (post) {
myRow = myTable.insertRow(myTable.rows.length-2);
myCell = myRow.insertCell(-1);
change myTable.rows.length-2 to myTable.rows.length-1
And see if that fixes it.
I recall having to modify that as such because you had ad management installed. Have you made changes to ad management??
Quote from: SlammedDime on November 05, 2008, 07:07:28 PM
Open up that file locally, and find this block of code
// Otherwise, the post was successful so lets add it in.
else if (post) {
myRow = myTable.insertRow(myTable.rows.length-2);
myCell = myRow.insertCell(-1);
change myTable.rows.length-2 to myTable.rows.length-1
And see if that fixes it.
It did not fix it.
Quote
I recall having to modify that as such because you had ad management installed. Have you made changes to ad management??
No changes.
Did you clear your cache? Javascript files are normally cached by the browsers.
Clear now but no changes...
Any other idea?
Can you give me a link and test account again?
I got a problem, i installed it on 1.1.7 , well it show that its installed and it gives a green light.
But i cant see a link to configuring this mod!
Any advice?
Quote from: SlammedDime on November 07, 2008, 03:25:36 PM
Can you give me a link and test account again?
SOLVED. Thank you.
hmmm... i dunno how to install it onto my Musiconica theme... anyone help??
i can't find <table cellpadding="0" cellspacing="0" border="0" width="100%" class="bordercolor">';
to replace
also cannot find this: ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' »</div></td>
[didn't check out the rest as i was really quite puzzled coz i can't find the 2 of them :)]
Sorry xkiller, this mod won't work on your theme.
Quote from: setthedark on November 08, 2008, 06:15:04 PM
I got a problem, i installed it on 1.1.7 , well it show that its installed and it gives a green light.
But i cant see a link to configuring this mod!
Any advice?
Any help?
i'm using this ajax instant quick reply, unfortunately, i upgraded my forum to 1.1.7 - it is still showing and can be used, but it's not loading instantly anymore. so the more you click on the "post" the more it posted your reply without even loading :/ i guess the mod is not compatible with 1.1.7 yet?
setthedark - there is no configuration, this adds nothing to your forum, it only changes existing functionality.
pinoypetfinder - it should work fine on 1.1.7 as far as I know... the updates didn't touch any thing related to this mod. I'll do some testing tomorrow to look further into it.
Then it doesnt work with 1.1.7 version.Nothing happaned , i cant see quick replay its like it doesnt exist.
This does not add quick reply to your board. Quick reply is a default feature of SMF, to which the options are found in the Look and Layout preferences of your profile.
Oh i got it, work now , but isnt there option to make it default for all members to have it on?
SlammedDime, any news re the 1.1.7 version? i'm still having the same prob :( i thought i was just having a slow connection, but it's happening to our other members too. the only thing i did before we notice this prob is that we upgraded to 1.1.7
seems to work fine on my end... I'll need a url and test account to see what's going on though.
thanks in advance slammedDime :)
here's the url and the test account -
http://www.pinoypetfinder.com/forum/
username : test
password : 123456789
:)
Not sure what happened or why, but you're missing this from your Display template...
quickReplyCollapsed = ', !empty($options['display_quick_reply']) && $options['display_quick_reply'] == 2 ? 'false' : 'true', ';
var view_newest_first = ', (!empty($options['view_newest_first']) ? $options['view_newest_first'] : 0), '
aah! i removed that part on the same day i upgraded (so that's the reason why i thought it was because of the upgrade). i was having error with that line (i don't know why) and checked smf's forum and found this thread saying we have to remove it and so i did.
but anyways, thanks slammedDime! everything's working fine now again :D
NOthing for 2.0 beta 4?
Please read the last couple of pages of this topic.
Sorry couldnt make much sense out of it :( help please.
Read the last FAQ of the first post of the topic
Thankyou that made sense.
But i would really like to have quick replay enabled by default for my members rather then changing it in profile.
Thanks a lot, your mod ruined my forums!
Everything is gone!
I'm spreading the bad word!!!
Quote from: W00tbeer1 on November 22, 2008, 03:29:59 PM
Thanks a lot, your mod ruined my forums!
Everything is gone!
I'm spreading the bad word!!!
Did you heard for the magic word backup?
I certainly hope you're joking... but if not I'd be happy to help troubleshoot, just like any other issue. Since the mod does install and work a clean copy of SMF 1.1.7 and 2.0B3, I'm leaning more towards user error.
The mod works just fine with mine SMF 1.1.7.
Only one little annoying problem - quick reply cuts long sunjects of the messages and adds either &# or & at the end of the subjects. I don't know if this is because of the original quick reply of SMF or because of this mod.
hrm... I'll have to test and play with that, thanks for the info
Quote from: W00tbeer1 on November 22, 2008, 03:29:59 PM
Thanks a lot, your mod ruined my forums!
Everything is gone!
I'm spreading the bad word!!!
I'm sorry, but do you know how silly you sound? If the mod hasn't done any damage to 99% of the forums its been used on, I doubt "spreading the bad word" will do much. And as AlexNS said, you should make backups of your forum often, in case of problems like this.
Anyways, is there any way to get this mod to work on SMF 2 Beta 4?
Not right now, the javascript has to be rewritten due to the changes in the display template.
the only things i remember you adding that deal with display.template is a simple rewards mod, i dont see how the forum would crash.
Hello.
it was installed successfully but didn't worked for me :S
http://gmpak.azhargroup.net/
test : test
Sorry danishj, I won't be providing any support for you until you restore the SMF Copyright in your footer of your forum. I see it hidden in the HTML, which is against the SMF License that you agreed to when downloading the software.
I'm sorry I was testing something. wont do this again :)
Thanks.
Seems to work fine for me... Try clearing your cache on your browser and try again.
No it's not working for me :(
I deleted cache and tried on difrent browsers
Still not working.. :(
Ok, explain how it's not working for you then... I had no problems with it... worked just like it should. Give me the exact link of the topic you tried it from. By exact, I mean, copy the url of the page you're at when you try the quick reply...
other members & I actually cannot see quick reply mod at the bottom of the topic..
for example look at this topic :
http://gmpak.azhargroup.net/index.php/topic,180.msg8270.html#new
can you see quick reply box on this link?
strange thing.. working fine with test account but cannot see with admin account
As I've said numerous times in this topic, this does not add Quick reply to your forum. That is already a default feature of SMF. This only changes it's functionality. You need to enable quick reply in your Look and Layout preferences in your profile.
Will this mod work with 2.0 beta 4? If not can we expect it to anytime soon it looks great
From the first post of the topic: :)
Quote from: SlammedDime on May 29, 2008, 06:59:11 PM
Q: When will you have a version for 2.0 Beta 4?
A: I won't. There are still on going template changes for the 2.0 series, and it would be quite cumbersome to have to rewrite the mod for more beta or RC releases. Once RC1 or RC2 is out, a new version will be published.
Although I do have a version that preliminarily works with RC1, I still have to do further testing on it. Not sure if it will work on Beta 4 or not.
alright thanks.... Sorry i didnt read much but seand 25 pages of posts is really discouraging.
OFF topic
Anyways so when do u think we can expect SMF 2.0 then?
Sorry, I haven't the slightest clue what the dev's timelines are. It's not something that is really discussed, we more or less have the philosophy of it's ready when it's ready.
How can we use this in this theme http://custom.simplemachines.org/themes/index.php?lemma=139
It's not possible to do with that theme.
I'm sorry if this question has been already asked but,
is it possible to turn it on for all users, and all new users?
Thanks in advance.
Hello SlammedDime,
Firstly, thanks for making this mod. I had never though someone would actually create a mod for my request. :D
I'm experiencing some errors though. Even in the Core theme, the page reloads for each post. I tried it on the last page of threads, no moderation, and no verification. :(
Install seemed to be fine, testing was all successful.
http://kh3.us <--My board.
Did you install it onto your custom theme as well?
Can you provide a test account for me to use?
PM sent with account info.
Thanks.
it worked fine for me on both default and your custom theme.... did you try clearing your browser cache and try? It does make changes to the xml_topic.js file, which is normally cached.
Quote from: danishj on December 10, 2008, 02:34:42 PM
I'm sorry I was testing something. wont do this again :)
You've once again removed the copyrights so you are a liar.
Thanks Nemini - I've passed that along to the PM's again.
How to enable this mod. Could anyone explain, can't find this option.
As has been said time and time and time again, there is nothing to enable. It changes the existing functionality of quick reply, which is already a feature of SMF, it does not add quick reply to your board.
http://docs.simplemachines.org/index.php?topic=37.msg37#msg37
Is there any way to these two mods working together?
http://custom.simplemachines.org/mods/index.php?mod=1214
http://custom.simplemachines.org/mods/index.php?mod=883
I have some problems in the
Display.template.phpIf I install first the
Enhanted Quick Reply and after the
AJAX Quick Reply. I get this error.
Quote
Acciones de la Instalación
Acciones de Instalaciones para "AJAX Instant Quick Reply":
La instalación de este paquete realizará las siguientes acciones:
Tipo Acción Descripción
1. Executar Modificación ./Sources/Errors.php Éxito
2. Executar Modificación ./Sources/Display.php Éxito
3. Executar Modificación ./Sources/Post.php Éxito
4. Executar Modificación ./Themes/default/Display.template.php Prueba fallida
5. Executar Modificación ./Themes/default/xml_topic.js Éxito
6. Executar Modificación ./Themes/default/Xml.template.php Éxito
If I install first the
AJAX Quick Reply and after the
Enhanted Quick Reply. I get this error.
Quote
Acciones de la Instalación
Acciones de Instalaciones para "Enhanced Quick Reply Box 2.0.2":
La instalación de este paquete realizará las siguientes acciones:
Tipo Acción Descripción
1. Executar Modificación ./Sources/Display.php Éxito
2. Executar Modificación ./Themes/default/Display.template.php Prueba fallida
I want have both. It can be done manually that both work well in the file
Display.template.php?
Install Enhanced QR first, then install my mod, then make the manual changes required to Display.template.php
SlammedDime can you edit this one for me please ? It's cargo frome dzinerstudio.
Thanks a lot !
Installed successfully in our forums http://www.eProfitsMaster.net/forum/index.php
Thanks SlammedDime
Gr8 JOB
SlammedDime; when will you update mod of AJAX Instant Quick Reply to rc1 =)
It pretty much is, I just need to do further testing and post it.
How do I make it so Quick Reply will be enabled for everyone, so everyone does not have to go to their profile, and manually put it on?
Quote from: codnerd on January 25, 2009, 02:55:38 AM
How do I make it so Quick Reply will be enabled for everyone, so everyone does not have to go to their profile, and manually put it on?
i want to know that 2 !
Anyone?
:( Again, anyone?
Admin > Themes and layout > Reset Options > <your theme> Reset all members' current options for this theme > "Use quick reply on topic display".
I see it, but when I reset it, it does not work...
Are you sure you first set "Change" for quick reply, then set it to show and then actually press "Save" or "Reset"(Can't remember).
Yup. Still doesn't work tho.
Hi, I'm having issues combining Instant Quick Reply and Enhanced Quick Reply, I know that its possible to install them both in a specific order, but my display template was already highly modified and wouldn't work
Here is a link to the thread where I asked for help, my display.template.php is included.
http://www.simplemachines.org/community/index.php?topic=290010.0 (http://www.simplemachines.org/community/index.php?topic=290010.0)
If you can be of any help please do as I'm struggling with this, thanks
Does this mod work for the yabb se theme?
Slammedime when i install this, my quick edition buton stop workin!
This button:
And the Display.Template.php of my custom isn't working :S
Can you take a look?
Edit: The Quote button doesn't work 2 !
Quote from: SlammedDime on January 24, 2009, 04:18:17 PM
It pretty much is, I just need to do further testing and post it.
did the tests finish it? =)
There were some changes to the javascript and theme structure that I haven't worked out yet. I'm working on finishing my Sitemap mod first, then I will work on finishing this up.
Became17 - I can't do much without a link to your site and a test account.
Oki doki =) Thanks ;)
Quote from: SlammedDime on February 07, 2009, 10:15:21 AM
There were some changes to the javascript and theme structure that I haven't worked out yet. I'm working on finishing my Sitemap mod first, then I will work on finishing this up.
Became17 - I can't do much without a link to your site and a test account.
Check your PM's
Ahh, thanks, I don't know how I missed it... I'll take a look.
Quote from: SlammedDime on February 08, 2009, 09:53:46 PM
Ahh, thanks, I don't know how I missed it... I'll take a look.
Say something when you take a look
Edit:File anexed
So the mod is not installed and you're still getting the error?
Released version 1.0.2 Supporting 2.0 RC1
Quote from: SlammedDime on February 10, 2009, 06:13:54 PM
So the mod is not installed and you're still getting the error?
yes i uninstalled to see if the things start working again but nothing
Can't you fixed?
I'm use smf Thai language
I have a problem with Quick Reply. But if normal post is not usually a problem.
i'm use DB unicode utf8_general_ci be default
I have SS
(http://www.ulbuzz.com/OclqIJK1QP)
If using Normal Post
Re: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx it Full Subject
If using Ajax Quick Reply
Re: xxxxxxxxxxxxxx
#Distorted# it not Full Subject
Help me Please . Thanks
I'm using smf 1.1.8
Quote from: indyzbinary on February 14, 2009, 04:57:35 AM
I'm use smf Thai language
I have a problem with Quick Reply. But if normal post is not usually a problem.
i'm use DB unicode utf8_general_ci be default
I have SS
(http://www.ulbuzz.com/OclqIJK1QP)
If using Normal Post
Re: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx it Full Subject
If using Ajax Quick Reply
Re: xxxxxxxxxxxxxx#Distorted# it not Full Subject
Help me Please . Thanks
Are you using SMF 2.0 or 1.1.8?
Quote from: SlammedDime on February 14, 2009, 05:03:14 AM
Quote from: indyzbinary on February 14, 2009, 04:57:35 AM
I'm use smf Thai language
I have a problem with Quick Reply. But if normal post is not usually a problem.
i'm use DB unicode utf8_general_ci be default
I have SS
(http://www.ulbuzz.com/OclqIJK1QP)
If using Normal Post
Re: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx it Full Subject
If using Ajax Quick Reply
Re: xxxxxxxxxxxxxx#Distorted# it not Full Subject
Help me Please . Thanks
Are you using SMF 2.0 or 1.1.8?
I'm use 1.1.8
Help me plzz... ^-^"
Can I have a link to your board please?
@slammedDime i'm new to mods so i don't know if u could give me a simple step bu step manual on how to go about installing the mods on Smf 1.1.8(admin centre)
Quote from: SlammedDime on November 10, 2008, 10:41:24 AM
Sorry xkiller, this mod won't work on your theme.
:( :( :( :( :(
Wow thanks for porting this to RC1
Couldn't find it in this topic so here it is:
What if the template doesn't have a Display.template.php file? (template= Lady)
Website:http://www.4you-services.eu (http://www.4you-services.eu)
Then SMF uses the one from the default theme, in which case you don't need to modify anything extra as long as it installed without error.
I have read the FAQ at page 1.
Is that mean that RC1 and RC2 will not accept the functionality of this mod.
I mean will it work or not.
Because i have installed over 2.0 RC1 and i don't have any changes or auto post even changed the setting in profile - look and layout to show on by default in quick reply.
Sorry, I haven't updated that first post yet, but as the mod's download page says, this does work with RC1 if your theme is tableless, or if your theme relies on the default Display.template.php.
If you're not sure, ask your theme author.
I would love to use this but my display.template.php is quite the mess from other mods and it's all right in the spots that need the edits.
I'm using theme RuNet. And i don't know how fix it, help me, Thanks
Quote from: SlammedDime on March 08, 2009, 11:18:11 AM
Sorry, I haven't updated that first post yet, but as the mod's download page says, this does work with RC1 if your theme is tableless, or if your theme relies on the default Display.template.php.
If you're not sure, ask your theme author.
Thanks for your reply.
I am using the themes built by dziner Studio.
All the themes were using the default theme display template only.
So i have to ask them , whether there theme is table less ? Right ?
As I said, if your theme relies on the default display.template.php, then the mod will work with your theme.
Is there a way to display Message Icon, Tags and Smileys on this AJAX Instant Quick Reply?
Thanks....!
That's totally out of the scope of this mod. I shall repeat again, this mod only changes the functionality of SMF's existing quick reply feature, it does not add quick reply to your board.
Very Thanks, I have installed and works perfect! :)
Thanks.Great mod.But,
after we send a message , profil picture doesnt appear
(http://img24.imageshack.us/my.php?image=adszagk.jpg)
When I try to run this to the package parser, I get the follow error:
QuoteERROR: The package-info.xml file is invalid!
Debugging Information
Error message: String could not be parsed as XML
Source: /home/dragonfl/public_html/resourcez/PackageParser/index.php:133
Errors encountered while parsing XML file:
Stack Trace:
#0 /home/dragonfl/public_html/resourcez/PackageParser/index.php(133): SimpleXMLElement->__construct('')
#1 /home/dragonfl/public_html/resourcez/PackageParser/index.php(94): parsePackageInfoXML('/tmp/package-in...', 'install', 'all')
#2 /home/dragonfl/public_html/resourcez/PackageParser/index.php(775): parseArchive('/tmp/phpxokQ9J', 'install', 'all')
#3 {main}
XML File:
Don't use an external package parser, use the one we have on the mod site. Click the radio button next to the version of the mod your installing, select your SMF version from the drop down, and click submit.
Hi, i have successfully installed this great mod but i have a problem... when i click the "post" button, a loading sign appears but the post isn't added to the topic until I click the refresh button...
Any ideas?
As I posted in the first post of the topic:
QuoteIf anyone would like me to see why it isn't working on their site, they will need to provide a link to their site as well as a test account to be used.
Sorry, here is my link
http://www.gptlatino.com/foro/index.php
I am using TP 1.05 and SMF 1.1.8
Edit: Now it's working properly because i modified some code from display.php, the only thing is that when you post, the "recento topics" isn't updated immediately, right?
Or it should?
Regards!
ok, not working at all on my site. It succesfully installed but it loads the same as usual, no ajax at all.
http://craigh.tlcrepair.net
user: forum tester
pass: lucky1
any ideas.
Quote from: Pleek on March 28, 2009, 09:16:05 PM
ok, not working at all on my site. It succesfully installed but it loads the same as usual, no ajax at all.
http://craigh.tlcrepair.net
user: forum tester
pass: lucky1
any ideas.
Dude you are using a custom template, all modifications only apply to the default template, so you will have to make the edits on your own.
Use the package parser ;)
it doesn't even work on the default theme. It loads as normal some times. Other times it doesn't do anything and i have to refresh.
What mods do you have installed Pleek?
1. TinyPortal 1.052 [ Uninstall ]
2. User Control Panel By Alan S 2.0 [ Uninstall ]
3. Ad Managment 2.3 [ Uninstall ]
4. nneonneo's AJAX ShoutBox 1.20 [ Uninstall ]
5. Karma Buttons 1.0 [ Uninstall ]
6. SMF Shoutbox 1.16b [ Uninstall ]
7. Custom Profile Field Mod 3.19 [ Uninstall ]
8. Spoiler Tag 0.3.3a [ Uninstall ]
9. Auto Embed Video/Audio Clips 3.0 [ Uninstall ]
10. Admin Modification Menu Section 1.0.2 [ Uninstall ]
11. SMF Arcade 2.0.13 [ Uninstall ]
12. nCode Image Resizer 1.0 [ Uninstall ]
13. Are You Human? Anti-Bot Registration Check 1.3 [ Uninstall ]
14. Trim Url 1.0.2 [ Uninstall ]
15. Karma Description Mod 2.3.1 [ Uninstall ]
16. Users Online Today Mod 1.4.0 [ Uninstall ]
17. Custom Action Mod 2.04 [ Uninstall ]
18. Custom BBCode 2.00 [ Uninstall ]
19. Global Headers Footers 1.4.1 [ Uninstall ]
20. Admin Notepad 1.0 [ Uninstall ]
21. Force Topic Read On Login Mod 1.0 [ Uninstall ]
22. MoodBobels 2.1 [ Uninstall ]
23. mp3 Flash Player BBC Tag (XHTML Compliant) 1.0 [ Uninstall ]
24. SMF 1.0.14 / 1.1.6 Update 1.0 [ Uninstall ]
25. Recent Topics On "Recent Posts" Page 1 [ Uninstall ]
26. Reflection Img BBC 1.0 [ Uninstall ]
27. Floating Bar Mod 1.0 [ Uninstall ]
28. SMF 1.0.15 / 1.1.7 Update 1.0 [ Uninstall ]
29. Unique Hit Counter 1.0 [ Uninstall ]
30. Recent posts user preference 3.04 [ Uninstall ]
31. Default Avatar 1.1.1 [ Uninstall ]
32. Post Box Message 1.1 [ Uninstall ]
33. FontandSizeDropdown_1.2 1.3 [ Uninstall ]
34. SMF 1.0.16 / 1.1.8 Update 1.0 [ Uninstall ]
35. Enhanced Dropdown 1.1 [ Uninstall ]
36. Googlebot & Spiders Mod 2.0.4 [ Uninstall ]
37. Auto Email Inactive Users 1.7 [ Uninstall ]
38. MCLegendII.2 3.0 [ Uninstall ]
39. Topic description 1.1 [ Uninstall ]
40. Thank-O-Matic 1.2.5 [ Uninstall ]
41. Prettier_Quotes 1.12 [ Uninstall ]
42. AJAX Instant Quick Reply 1.0.2 [ Uninstall ]
Can you attach Display.php and Post.php ?
yep, here you go. Thanks for helping me.
I'm at a loss Pleek. The only way I can try to troubleshoot it is with FTP access to your board. I tried just putting up a single message on your board, and that didn't even work.
well, ill just leave it alone for now. Im gona install a fresh smf soon. ill try it on that and tell you how it goes.
Hello there,
First off, thank you for making and sharing this nice mod : D
Then my problem: i'm using a customized theme and it doesn't display at all, like it's not installed : \ I tried to find a "Display.template.php" but there's nothing like that in my theme folder : (
My mods:
- AJAX Instant Quick Reply v1.0.2
- TinyPortal v1.075
- Timezone Select v1.1.2
- Anonymous Posting Mod v1.01
My Website: www.vman-clan.tk
Current Theme (Free for download): http://www.dzinerstudio.com/index.php?action=tpmod;dl=item40
Thank you in advance ^^
Have you enabled quick reply in your profile? Quick reply is a default feature of SMF this only changes it's functionality.
great mod,but how can i change background-color,i only want to change the quick reply
text area
Quote from: SlammedDime on April 02, 2009, 12:09:26 PM
Have you enabled quick reply in your profile? Quick reply is a default feature of SMF this only changes it's functionality.
Thank you, i looked for all the options, but haven't figured out the profile thing :\ Now it works like a charm ^^
I manually enabled it on the profile of all my members: is there a way to enable it for guests too? Or a way to don't have to manually enable it to everyone who will register?
Thank you again for you time
If you visit the theme options in your admin panel, there is a link for 'Reset Options' where you can reset options for all of your members, and default options for guests.
Quote from: SlammedDime on April 02, 2009, 03:07:54 PM
If you visit the theme options in your admin panel, there is a link for 'Reset Options' where you can reset options for all of your members, and default options for guests.
Got it working perfectly now, even for guests. My members like it so much : D Thank you again ^^
thanks for this great great mod...it's working well but one thing i want to ask to activate i need to go to the profile and after it's showing me on every post down, how can i make it work like here on simplemachines.org there is a button quick reply on every post without i selected it from anywhere? i mean are they also doing reset everyone in theme setting?... but i see here is a button qucik reply since mine registeration time...is it possible to put a button like this so even a new member can use it?
thanks for any help
I'm sorry, that whole paragraph just kind of ran together and I don't really understand what you're asking.
Quote from: SlammedDime on April 09, 2009, 10:45:27 PM
I'm sorry, that whole paragraph just kind of ran together and I don't really understand what you're asking.
lol.. ok i was asking like this site simplemachines.org there is a button on every post "QUICK REPLY" how can i put that ....
I don't see one that says Quick Reply... I see one that says 'Quote' and it should be appearing on every post already... it's a default button.
Quote from: SlammedDime on April 10, 2009, 01:50:00 AM
I don't see one that says Quick Reply... I see one that says 'Quote' and it should be appearing on every post already... it's a default button.
I am attaching the picture ...
Hi SlammedDime,
Will i get bbc buttons and smiles on this mod.
Which will be so useful.
No, as I have said time and time again... this does not add anything to SMF, it only changes functionality.
Thank for this great mod, but after installation my forum "Quote" button not works any more!
after pressing that on top of the page shows "Loading..." and browser jumps to Quck reply box but nothing happend and that "Loading..." remain on top and quick reply box still Empty!!!
any Idea?
This mod should have zero effect on the quote function. Are you positive that that started happening after you installed this mod and not another?
Also, if you want me to look at it further, I need a link to your site and a test account to use.
Actualy i didn't mentioned that before, after installing "AJAX IQR" i tried all possibilities of ajax and then found this issue.
But this morning i read all codes (added by this mod) and found that there is nothing wrong with your Codes/Mod. now i'm trying to find which mod did that to my forum ;)
So, ignore my Prev post and keep doing your best. Special thanks for your Great Mod and Fast Support. have fun.
If you want to PM me a link to your board, I'd be happy to look at it for you...
How to modify the look of the Loading... Text when you post a quick replay... and can it be made to show it self sliding the Loading text box down and then when it closes to slide back?
yes it's possible, but outside the scope of this mod. You should ask about that in SMF's Coding support forum.
Is there any fix for that error in IE? If you use quick reply in IE, it shows the post above the last post. Pretty weird.
Example here: http://i41.tinypic.com/28i99ap.png
Check out the REPLY #8 and the following is REPLY #6. If you refresh its showing fine... Maybe theres a way to autorefresh the page AFTER putting in the fast reply, I have no knowlegde about this, so I dont know.
thx for ur time!
how to do for the delete of reports?
I don't understand your question ZeUsSan, nor do I know that it really has anything to do with this mod...
alexander - have you tried on the default theme to see if it occurs there? Also, which version of SMF are you using and which version of the mod?
Will this work on Musiconica Theme now?
It may (at least for the 2.0 version)... I haven't tested it or looked at it yet...
Quote from: SlammedDime on May 04, 2009, 03:33:00 PM
I don't understand your question ZeUsSan, nor do I know that it really has anything to do with this mod...
how to do
"AJAX Quick Delete"(for admin) messages
That's beyond the scope of this mod, you would be better to ask in the Coding board
Hello,
This mod has stopped working for me probably because of some other installed mods later. Now it just shows the loading... message on top and nothing happens when i click the QUOTE button. my version 1.1.8
I want to uninstall the mod however it does not appear in my Installed mods list because I had deleted that list earlier. When I try to reinstall the mod so I can maybe unistall it it gives me the error of display.php I tried to replace my exising display.php with earlier versions but they also give me the same error.
Can you help me uninstall this mod ...cleanly please
I manually editted the display.php and the code for the mod was present in the file and I removed it. All the other files do not have the code however I still see the loading... message when i click Quote and nothing happens.
Thanks
You'll have to manually remove all of the code. If you have, and you are still getting the stuck 'loading' when trying to quote, the issue isn't with this mod. But like I've said in numerous other posts, I can't help without at least a link to the board.
sent link
thanks
@SlammedDime , when i post a strange problem happen
check the screenshot :
http://i43.tinypic.com/2qx58ja.jpg
As you see when the Loading appears its on the bottom but the white text is how many time it got to load the page , can we lower it a bit more ?
That's beyond the scope of this mod, the loading bar is a default feature of SMF, this mod only utilizes that... you may want to ask your theme author.
I know this may sound dum but this will work with the new new version of RC1 right?
Sorry for stupid question, i have been away from forums for while O:)
Yes, it should work fine.
How can i make this actve for all users ?
I meen that they don`t need to activate this from theyer profile.
It works fine but when i install quick reply extra that float bar then it's seems this mode not post i mean no refresh but actually if go back and come again you will it the post there.
I'm still wondering, how do you add BBC buttons to the quick reply table?
kizko - Themes And Layout (http://docs.simplemachines.org/index.php?board=54.0;sort=subject)
wiki - I'm sorry, I don't understand, please rephrase
Nintendo - That's outside the scope of this mod, you should ask in the General Coding board.
Quote from: SlammedDime on May 30, 2009, 10:38:06 PM
kizko - Themes And Layout (http://docs.simplemachines.org/index.php?board=54.0;sort=subject)
wiki - I'm sorry, I don't understand, please rephrase
Nintendo - That's outside the scope of this mod, you should ask in the General Coding board.
I don't see the option under 1.1.9
Is it just not supported?
You just must not be looking in the right place.... it's there...
http://docs.simplemachines.org/index.php?topic=110
Nice Work ^^
I installed this mod without any error in 1.1.9 but it is not visible.
That would make 100% sense... there are no visible changes that this mod makes. It makes functionality changes. Please read this topic, specifically the very first post's FAQ.
Hey, I installed Pretty URLS 1.0RC and then re-installed this mod so the changes to Display.php would take effect, but when I try to quick reply, it will post the message, but I will not see my message instantly on submit. I will get the green Loading... bar, then it will go away, and I have to refresh the page to see my post. I double checked and my Display.php code is correct from the mod, and it works great with Pretty URL's disabled. Know what I'm doing wrong?
No idea... I'll have to test it out and see what's going on from my side.
Hey SlammedDime, just letting you know this was a user error, sorry. I managed to re-install both packages and it was a problem with PrettyURLs, not AJAX Instant Quick Reply. Sorry for not looking deeper into this.
no problem, glad you got it sorted :)
Hey nice mod but i broke it somehow lol the quick reply option is there but it still has to refresh the page. im using smf 2-1 with mysticjade theme.
Did you get any errors when installing it?
Did you make the necessary changes to your Display.template.php file for your custom theme?
There were no errors, and there is no Display.template.php file in the custom theme to edit???
But now one of my members just told me the quote function doesn't work(i just freezes with the loading bar)
Im beginning to think its something to do with ajax??
try re-installing it...
lol that's the first thing i did. ty anyway
Lol is it compatible with your SMF version?
yeap has been working for the past month. just stopped working a few weeks back but i want to worried its only a minor error, except the qoutes not working is very inconvenient.
Is your theme compatible have you gotten any other errors from mods
nah theme is fine this problem also affects default one as well and there are no related errors. i was thinking it may have something to do with ajax chat integration that i tryed out about a month ago. i uninstalled and it was successful but yea im now manually going over files to see if its all gone.
You probably have some extra code inserted in the wrong spot, or your board has been comprimised.... look at the HTML source of your page... if there are any extra spaces above <doc type> or anything, including spaces after </html>, that is the cause of any AJAX related issue you may be having.
Quote from: SlammedDime on July 02, 2009, 07:56:20 AM
You probably have some extra code inserted in the wrong spot, or your board has been comprimised.... look at the HTML source of your page... if there are any extra spaces above <doc type> or anything, including spaces after </html>, that is the cause of any AJAX related issue you may be having.
Ah thanks man had some stupid script after </html> tag have no idea what it was doing but its all good now
I can't uninstall this. Please help me to uninstall it.
Quote
This package cannot be uninstalled, because there is no uninstaller!
Please contact the mod author for more information.
it's no compatible with 2rc1-1 ?
Quote from: malcomxar on March 19, 2009, 08:09:34 PM
Hi, i have successfully installed this great mod but i have a problem... when i click the "post" button, a loading sign appears but the post isn't added to the topic until I click the refresh button...
Any ideas?
me too.. How can I make to run it perfectly?
Can someone help me? I need a custom edit to my theme.
Theme Limy:
http://custom.simplemachines.org/themes/index.php?lemma=1749
SMF Version:
1.1.9
I have Simple Portal installed. which basically F's up ever other mod I could want installed. so I need a manual edit for this to show up. I would REALLY appreciate it.
This mod doesn't install on index.template.php, it only installs on Display.template.php... you're theme doesn't contain one, so if you had no errors when installing, you shouldn't need to make any extra adjustments.
well.. its not showing up lol
At the bottom of every page there is no quickreply of any kind. ajax or not
As is stated in the first post of this topic...
QuoteQ: After installing the mod, I don't see quick reply on my topic pages.
A: This mod does not add quick reply to your board. One of SMF's included features is quick reply. This only changes it's functionality. To enable quick reply, you have to go to your profile and change your Look and Layout Preferences to display it.
Oh wow thank you very much. Is there a way I can turn that on be default for everyone?
In compatible with area of the detail page, its mentioned upto 2.0 RC1 only, dose it work with 2.0 RC1-1? any idea?
Cheers
When I try to install is says it is either corrupt or not compatible.
I am on 2.0
I will be updating it for 2.0RC1.2 shortly... there are no changes to the code, it all works just the same.
I have it uploaded and installed but its not coming up, how do I get it to show?
Quote from: SlammedDime on July 08, 2009, 04:25:44 PM
As is stated in the first post of this topic...
QuoteQ: After installing the mod, I don't see quick reply on my topic pages.
A: This mod does not add quick reply to your board. One of SMF's included features is quick reply. This only changes it's functionality. To enable quick reply, you have to go to your profile and change your Look and Layout Preferences to display it.
Quote from: SlammedDime on July 15, 2009, 04:57:05 AM
I will be updating it for 2.0RC1.2 shortly... there are no changes to the code, it all works just the same.
Can I do this myself by editing the package-info.xml file?
Yes, or you can just click the advanced button at the bottom of your package manager to make the package manager think you have a different version of SMF...
Quote from: SlammedDime on July 26, 2009, 06:01:20 PM
Yes, or you can just click the advanced button at the bottom of your package manager to make the package manager think you have a different version of SMF...
Thanks! Worked perfectly with the advanced emulation.
is this mod workin with smf rc 1.2
Read the last 4 posts...
how to setupt it to show by default like the smf.org forum?
To enable quick reply for all members, and all future members, you'll want to visit ?action=admin;area=theme;sa=admin;sa=reset
not funny.. nobody know?
version 1.1.10
Next time specify a version when seeking support instead of being vague... using the search function will help you too...
?action=theme;sa=reset
Ajax Instant Quick Reply is not working on SMF 2.0 RC1.2, Please help me...
'not working' is not descript... be more precise on what is 'not working'. If it just won't install, read reply 666 in on this page.
Works fine with SMF 1.1.10
But Error with SMF 2.0RC1.2:
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Quote from: SlammedDime on August 14, 2009, 09:12:14 PM
To enable quick reply for all members, and all future members, you'll want to visit ?action=admin;area=theme;sa=admin;sa=reset
Sorry, i still can't understand the mean of visit ?action=admin;area=theme;sa=admin;sa=reset ..
Can u explain step by step how to make quick reply default setting for all members
thanks
go to www.yourboard.com/index.php?action=admin;area=theme;sa=admin;sa=reset
Quote from: SlammedDime on September 20, 2009, 06:23:25 PM
go to www.yourboard.com/index.php?action=admin;area=theme;sa=admin;sa=reset
Still not work...
i tried www.myboard.com/index.php?action=admin;area=theme;sa=admin;sa=reset and the link derect to Administration Center page.
My version's 1.1.10
Ah, that's because you're on 1.1.10... in 1.1.x it's
?action=theme;sa=reset
Hi
Now Auto Merge Double Post (http://custom.simplemachines.org/mods/index.php?mod=1523) and Quick PM (http://custom.simplemachines.org/mods/index.php?mod=1649) are compatible with this MOD :)
I've been searching left and right for the quick reply option on my forum. I followed what was said in your Q&A, but I can't find it under my profile layout preferences. I'm using SMF 1.1.10.
Some help please.
Second option from the bottom...
Quote from: SlammedDime on September 28, 2009, 08:57:49 PM
Second option from the bottom...
Wow funny how the eyes and mind work. I was expecting a check box hence I didn't see the drop down choice.
Thank you so much XD
how can i insert msg icon option with this mod?
when click [ Apply Mod ]
The package you are trying to download or install is either corrupt or not compatible with this version of SMF
my version is Powered by SMF 2.0 RC1.2
any help ???
Will this work on RC2?
Not at the moment. I'm working on getting an RC2 version ready
Hi SlammedDime, Nice work!
but, I have one problem.. the reply don't show before I press f5.. attached my display.template.php no edited. can you help me?
I have:
smf version: 1.1.11
theme: dsv4
Any news for RC2.0 mod ? :)
yeah would be nice to see it soon
could you update it for RC2?
thank you so much!! ;)
Quote from: alexandervba on May 03, 2009, 09:45:24 AM
Is there any fix for that error in IE? If you use quick reply in IE, it shows the post above the last post. Pretty weird.
Same here, but it happens with every browser.
display.template.php (Amber template, SMF 1.1.11) attached. It is already modified.Nevermind, I fixed it.
any fix for rc2?
Updated to version 1.0.3 with support for RC3
very nice mod, thanks a lot
what do you mean by this please:
Quote3) If posts are moderated, it will post as normal.
the thing is, some boards in my forum have this mod working, some are not! how can i solve this
Thank you! everything works
For people running 2.0 RC1.2 (and who cannot update to RC2/3 because no patch available), is there a link to the version 1.0.2 of the mod (running on RC1)?
Quote from: SlammedDime on May 29, 2008, 08:18:56 PM
Quote from: ALEJO on May 29, 2008, 07:31:05 PM
screenshots plz?
Its not possible to get screen shots of this. It doesn't add anything visually to SMF, merely changes the functionality of how quick reply works.
Actually, you could
make a video, that would work!
Anyway, nice mod, if it worked for RC3! I installed it, but it gave me a error while posting!
Quote from: Kcmartz on March 23, 2010, 10:41:38 AM
Quote from: SlammedDime on May 29, 2008, 08:18:56 PM
Quote from: ALEJO on May 29, 2008, 07:31:05 PM
screenshots plz?
Its not possible to get screen shots of this. It doesn't add anything visually to SMF, merely changes the functionality of how quick reply works.
Actually, you could make a video, that would work!
Anyway, nice mod, if it worked for RC3! I installed it, but it gave me a error while posting!
Check the first post...
QuoteHere is a video that demonstrates the functionality: http://www.mattzuba.com/_public/ajax.swf.html
As for an RC3 update, I thought I had uploaded it, but obviously I didn't... I'll post it tonight when I get home from work.
Can you also post the old version compatible with RC1 ? Thanks !
SMF 2.0RC3 and 1.0.3
I don't know if my server is slow, or if it's just not working.
It doesn't load as fast as the one in the video.
In the member options for themes, I have quick reply turned on by default, and return to topic after posting. Am I missing something?
EDIT: yes, it is not working. Using a fresh install of SMF 2.0RC2 with TP installed(test site). I am on the last page of the topic, and visual verification is not turned on. Installed fine and there are no errors in the error log.
You're not missing anything. When I first started coding the mod, it was lightning fast like the video, but I altered the script to introduce a small half second delay (plus the time it takes to post and receive data) so that the users would see the loading bar for more than just a flash and would give the impression that the posting of the reply was actually doing something.
Quote from: $p00ky on March 24, 2010, 10:39:23 AM
Can you also post the old version compatible with RC1 ? Thanks !
I no longer have that version saved, and I strongly recommend upgrading to RC3.
Quote from: SlammedDime on March 25, 2010, 08:52:55 PM
You're not missing anything. When I first started coding the mod, it was lightning fast like the video, but I altered the script to introduce a small half second delay (plus the time it takes to post and receive data) so that the users would see the loading bar for more than just a flash and would give the impression that the posting of the reply was actually doing something.
I edited my previous post.
I'm sure it's not working as I can see the default theme images reloading.
Your post is confusing... Are you using RC2 or RC3? I've only tested the mod to be compatible with RC3, and it will likely not work correctly on rC2.
I created a test account if you wanted to try posting to check it out.
I had it installed, except that smileys and the GP/BP mod images wouldn't show!!
sir i using smf 1.1.11 and themes Anecdota by Crip
this one didn't work
can give me a help please :(
Quote from: SlammedDime on March 25, 2010, 08:53:23 PM
Quote from: $p00ky on March 24, 2010, 10:39:23 AM
Can you also post the old version compatible with RC1 ? Thanks !
I no longer have that version saved, and I strongly recommend upgrading to RC3.
I would love to upgrade to RC3, but there is no package manager update...
And a small upgrade will loose all my customisations (mods and themes)...
That's the risk of running an RC or Beta release... there won't be any package manager updates either, there have been far too many changes to do it via the package manager.
Do you know why the smileys and GP/BP mod images wouldn't work? If they did, I'd be using this mod!
GP/BP? What is that? And can you explain 'doesnt work'? Those two words are the least descriptive words to a problem one can use...
Good Post / Bad Post mod
Quote from: SlammedDime on April 01, 2010, 03:30:11 PM
And can you explain 'doesnt work'? Those two words are the least descriptive words to a problem one can use...
I mean it works except messes up smileys and images in GP/BP mod, and Advance Karma...
Defined "messes up smileys and images in GP/BP mod, and Advance Karma..."
What *specifically* does it do? Screenshots maybe?
or even post some screenshots
or better yet, explain it as if you were telling someone who didn't even know what Simple Machines was, or even a bulletin board system...
Already uninstalled, errors no more since uninstalling....
Great, so instead of helping trying to fix the problem, you just sweep it under the carpet.
Just a quick question, why doesn't this thing work for some boards but work for others?
Post moderation?
No. Mmm, I'll look into it more and report it.
Hey man,
Since I installed a clean forum at my new host (2.0 RC3) it doesn't work.
In my old forum it works fine with that theme so there are no theme problems.
I don't have configured the mod to my theme cause I don't have to that.
When I install it, it applies automatic to my theme (Silentwave)
Link of forum:
http://76.76.105.98/~internat/forum/
Test account name: test
Test password: test
Hope you can help me and regards,
Wietse
Edit: Filter changes the link, but I hope you still know it. Just http:// and then ip/~internat/forum
Thanks
incorrect password.
Did you try clearing your browser cache first and then try again?
Thanks fixed the problem.
But now I have new one, when I click post there comes a loading screen in the top of the screen and after that a page comes with  in the left top corner and then it goes to the post again.
Try it please:
for site check my previous post!
name: test
pw: test
Btw, have that bug only in Firefox
that means that one of your files somewhere was manually edited and saved as UTF8 with BOM. a google search for "php bom" will yield tons of information for you
Quote from: SlammedDime on April 12, 2010, 05:42:25 PM
that means that one of your files somewhere was manually edited and saved as UTF8 with BOM. a google search for "php bom" will yield tons of information for you
Aaah thanks, it's possible to fix it? Maybe you wanna help me?
Cause I don't wanna install everything again.
Hello, sorry but I speak very little English, thanks for the great mod!
I wonder if you can comment using the ajax always, is that possible? Thanks!
You mean for quick reply, and full posting? The full posting would have to be a new mod, or a renaming of this mod, but yes I would love that!
Quote from: Kcmartz on April 13, 2010, 03:11:51 PM
You mean for quick reply, and full posting? The full posting would have to be a new mod, or a renaming of this mod, but yes I would love that!
I would love that too! ;D
I don't understand the point? Why would you want it on the full post form? How do you propose that would work? You're talking about rewriting tons of SMF code to try and support that. It's much easier to simply install the mod that adds the full WYSIWYG editor to quick reply.
Will that conflict with the AJAX mod here?
Works well with SMF 2.0 RC3 IE8.0 and Firefox 3.6.3 but is blank (there is a view for a few seconds the new post).
What is failing?
*****************
Firebug me say:
Failed to load source for: http://localhost/index.php/topic,2820.msg18344/topicseen.html
the error is here: /Themes/default/scripts/topic.js
// Otherwise, the post was successful so lets add it in.
else if (post)
{
myDiv = document.createElement("div");
if (this.opt.bViewNewestFirst == 1)
{
currentClass = insertPoint.nextSibling.nextSibling.className;
window.location.hash = "top";
}
else
currentClass = insertPoint.previousSibling.previousSibling.previousSibling.previousSibling.className;
insertPoint.parentNode.insertBefore(myDiv, (this.opt.bViewNewestFirst == 1) ? insertPoint.nextSibling : insertPoint);
setOuterHTML(myDiv, post.childNodes[0].nodeValue.replace(/windowbg2|windowbg/, (currentClass == "windowbg" ? "windowbg2" : "windowbg")));
// And empty the post reply box
document.postmodify.message.value = "";
if (aIconLists[0])
aIconLists[0].initIcons();
}
else
{
window.location.reload(true);
}
plz help..i cant show my quick reply..i use 2.0 RC3...
plz..guide me, im newbie here.................
heres my forum http://cebuunderground.tk/ :'( :'( :'(
i cant show my quick reply box..i already replace the display.temeplates.php and display.php and alsom the topic xml.php
im confusing...please help
please guide me.........
Heres my display.templates.php
please take me out of there...
please check my forum...im confuce
www.cebuunderground.tk
user: test
pass: test
First of all, please don't post 6 times within a few hours, wait for a reply, could take a few hours, a hour, a day, but please be patient, someone will come along that can help...
hey guys.
I built and maintain www(dot)pariahstudios(dot)co(dot)uk/
I have a problem with our smf forum (www(dot)pariahstudios(dot)co(dot)uk/forum/)
When a user clicks the quick reply on the side of a post, the loader bar on the top of the page appears but the text input box on the bottom of the page never loads/appears.
I guess something's wrong with the connection to ajax..?
If you know how to fix this I would be rally grateful if you would help me out.
(for some reason I'm not allowed to post links so sorry about the '(dot)'s
respectfully,
matt
That is not related to this mod, you should start a topic in the proper support forum asking for assistance (either SMF 1.1.x Support or SMF 2.x Support)
I am using SMF 1.1.11 and the installation went smooth but the Quick Reply doesn't show below any posts on the forums. And i don't see any option on the Administrator section to enable or disable them.
Could you guide me.
my forums at www.jucktion.com/forum/
username:ntrack
password:test
I'm using 2.0RC3 and just installed your mod, looks good . . . but it seems that since I have newest post at the top . . . when I quick reply, the loading bar pops up, but the page still reloads.
I am assuming that is due to the newest on top setting????
Should work with newest on top...id need a test account and link to your site to test
I've been told by others on the forums that it is working as it should so it must just be me and my system
Anybody going to help me.
Nirose, please read the very post of this topic...
QuoteFAQ
Q: After installing the mod, I don't see quick reply on my topic pages.
A: This mod does not add quick reply to your board. One of SMF's included features is quick reply. This only changes it's functionality. To enable quick reply, you have to go to your profile and change your Look and Layout Preferences to display it.
is it possible to get quickreply on by default for every user ?
profile >> Look and Layout Preferences >> Use quick reply on topic display: Show, on by default
Nevermind after fiddling arround for some time i found out how to put this setting
for people who also were searching for this
Go into:
Admin pannel
In the block Configuration choose:
Themes and Layout
Click on:
Reset options
Hit: (from your own theme)
Reset default (guest) options for this theme
Set the option at:
Use quick reply on topic display:
And choose:
Show, on by default
there is probably allready something like this posted in this thread
but im yust trying to help and share ^^
i was thinking of adding this feature to my forum..then i noticed that this mod is installed but not working properly... i uninstalled the mod and tried to install it again.. but now..
i cant edit display.template.php
pleasse help me with this
file attached
thanks :)
does this mod work with the Auto Merge Double Post (http://custom.simplemachines.org/mods/index.php?mod=1523), Notify Modification Last Post (http://custom.simplemachines.org/mods/index.php?mod=1557) and WYSIWYG Quick Reply v2 (http://custom.simplemachines.org/mods/index.php?mod=1299) mods?
For some reason, the Ajax 'Please wait...' box does appear but the page then refreshes, as if the mod isn't installed? Anyone any ideas?
Lots of ideas... can't test them without a link and a test account though.
when using this ajax quick reply with IE 8 after clicking POST- it post the msg like normal quick reply.. i mean its refresh the whole page and we must wait for it.. but not in firefox.it dosnt refresh the whole page.. tq
Hello, I have a forum at www.railfans.ca
One user is having problems with the reply feature, thus I want to try this AJAX quick reply. I installed it but cannot get it to work. I am not a very advanced web master.
Anyway, if someone can get this to work for me, I will be happy to send $20 via paypal.
test account is test and password is test.
Just let me know what else you need from me.
Thank you.
Chris
Quote from: SlammedDime on May 29, 2008, 08:18:56 PM
Quote from: ALEJO on May 29, 2008, 07:31:05 PM
screenshots plz?
Its not possible to get screen shots of this. It doesn't add anything visually to SMF, merely changes the functionality of how quick reply works.
A video is possible.
I had to edit Display.template.php manually and found the submit button, but still does normal submitting. I did the correct area, but still no change. It still refreshes to post. :(
Still won't work, although I did a fresh upgrade file I will try now.
IT WORKS! Thanks for this huge, awesome mod SD!
guys i installed this mod into my forum, but it is not working.
I'm using version 1.1.11 when I installed did not show any error.
I created a topic to see if the changes appeared to respond using the mod, nothing happened.
so was wondering if anyone can help me make it work
I am Brazilian, and sorry for bad english, I used the google translator, I'm too lazy to write.
my forum to views:
http://clanweb.webenergia.net/forum/index.php
user:test
password:test
------------------------------EDIT---------------------------------
I managed to make it work! now is know how put BBC into him
Hi!
i'm using rc3, and after install mode, quickreply still normal without ajax.
What I have to do?
thanks
I'm not as skilled as the rest of these people, I tried my best to try get it working, but I have a problem with manually editing my theme because of this line:
FIND:
display: none;" onclick="modify_msg
REPLACE WITH:
' . (!isset($_REQUEST['xml']) ? ' display: none;' : '') . '" onclick="modify_msg
Ordinarily i wouldnt have too much of an issue to edit and MOD my display.template, but this one has me stumped, since my line is:
// Show the post itself, finally!
echo '
</td>
</tr></table>
<hr width="100%" size="1" class="hrcolor" />
<div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', $message['body'], '</div>', $message['can_modify'] ? '
<img src="' . $settings['images_url'] . '/icons/modify_inline.gif" alt="" align="right" id="modify_button_' . $message['id'] . '" style="cursor: pointer;" onclick="modify_msg(\'' . $message['id'] . '\', \'' . $context['session_id'] . '\')" />' : '' , '
</td>
</tr>';
hi experts .. i installed this mod .. but the thing is in my custom theme it havent appered :( can any1 help me plz
Is this mod no-longer-supported?
Slipperyduck... you don't really have to worry about that edit. The mod is still supported
thx slammed, guess I was just a little impatient...my appologies.
Anyway...trying to figure out context of syntax...since I'm NOT well versed in PHP, or at the very least don't actually do any web stuff for a living, Im trying to understand how/where in the syntax to add the statement (!isset($_REQUEST['xml']) ?
I'm under the assumption that ' . (!isset($_REQUEST['xml']) ? ' somehow sits before/after another period --> .
anyway. Any assistance would be welcome... I've seen this mod on many other forums and it's awesome, would really like to see it on mine.
thanks again, sorry if I seemed rude, I'm really not....promise
You would want to do this...
style="cursor: pointer;" onclick="modify_msg
style="cursor: pointer;' . (!isset($_REQUEST['xml']) ? ' display: none;' : '') . '" onclick="modify_msg
For some reason your template is missing the display: none that should be there.
THANKS - that will probably do it, I'll give it a go - you're a STAR :)
Worked PERFECTLY ! you are da Man - Thanks a lot Slammed
mod is not working properly
creates a new message instead of merge messages
when working together with the mod
auto merge duble post and Antibumper
Thank you for this very useful mod!
There is a little bug that might return javascript error because xml data is not filtered, so when the generated html contains <![CDATA[ ... ]]> it will mess up the whole xml data.
The fix is very simple, in Display.template.php (install_1_1.xml)
Find:
$buffer .
Replace it with:
str_replace("]]" . ">", "]]>", $buffer) .
For these who is using Babylon theme, I've attached the installation file that supports that theme.
Thanks V@no, I'll look into that for the next version to be released for SMF 2.0 RC4. I thought that issue cropped up in the past and was already fixed, but I'll look at it again.
Updated for 2.0 RC4
SlammedDime, are all issues/bugs found also corrected in the version for 2.0 RC3 now? I'm anxious to get this functionality back onto my forum so as to save bandwidth on page loads - such a great mod, its bizarre as to why this hasn't been included by the SMF team as standard!?
The current version will not work on 2.0 RC3, it is for 2.0 RC4 only.
:( Is there any chance that you can fix the RC4 version so as to work with RC3? I REALLY REALLY want this mod!!! :D
I'd suggest upgrading to RC4... there are a couple of important security fixes. I won't backport the mod back to RC3.
Morn All,
Really new to this and prefer trying to figure things out by reading and researching but not having any luck. I just installed the ajaxchat integration and it went fine although I have the same old 404 error mentioned in other posts.
There isn't an .htaccess file in the same directory as the iss.php file, don't even know where to start. I am running an apache2 server with default theme of smf 1.1.12
Please keep it kinda simple because I am getting older and slower.
Thank you for you time.
I posted this in the integration thread, but didn't get any response. Any help would be appreciated.
Are you posting to the right topic?
Quote from: SlammedDime on November 11, 2010, 07:46:13 PM
Are you posting to the right topic?
Arvo slammed,
Probably not, just saw the ajax part so thought I would give it a try here. I tried the ajax integration thread but no one responded, just trying to get pointed in the right direction.
Sorry about that.
The quick reply works as usual (reloading the page) in my smf 2.0 rc4 installation everything went well and package manager shows clean install and uninstall. Is the problem with 2.0 rc4? i had the mod working well and good in 1.1.12
Clear your browser cache and try again, sometimes the javascript doesn't recache right away.
Tried that with no success. Does the script check for the browser? I have my user agent changed for firefox
Nope, it's not useragent specific... I'll need a link to your site with a test account to try it out...
Never Mind, I switched back to 1.1.12. I think i have to do a bit more research on 2.0rc4 to get a nice theme and required mods working on it. Thanx for your mod anyway, I am still using it on 1.1.12 without any trouble.
Hello everyone.
It is possible to configure the instant quick reply? I want to enable it for every user..
maxcheaters.com use it!
mod works great
but when I'm install higslide4smf mod, then it ceases to send messages :'( :'( :'(
if higslide4smf mod removed, the problem remains!
Hi there, nice mod
I have just realized that this mod makes posts with html entities in my forum. I posted with AJAX reply and then with regular reply and the first was entities and the second regular text.
Its a forum with greek language, charset=windows-1253
Is that a real problem with google or adsense crawler?
Could my forum be penalized by google for bad coding or something?
Works like a charm on 1.1.12
How to add smileys and other buttons in that?
Enhanced quick reply can't be installed with this addon existing.
Hi,
I was wondering how I could get rid of the pink/red loading bar that appears at the top of the page when the quick reply submission is being processed. My forum url is: http://audeamusrpg.com/forums
Thank-you very much for reading. :)
-Mari
Quote from: marijang on January 02, 2011, 11:56:08 PMI was wondering how I could get rid of the pink/red loading bar that appears at the top of the page when the quick reply submission is being processed.
In xml_topic.js search and remove 8 times:
if (typeof window.ajax_indicator == "function")
ajax_indicator
(note, second line above is only partial, but you need remove both FULL lines.)
I'm sorry, this must be a very repetitive question, but: where is the xml_topic.js file? :$
in Themes/default
Hmm I can't seem to find that file in themes/default. :S I've looked through all the folders and files in the 'themes' folder.
Quote from: Mari-chi on January 03, 2011, 12:42:49 AM
I'm sorry, this must be a very repetitive question, but: where is the xml_topic.js file? :$
it will be topic.js and its on /Themes/default/scripts/
oh, evidently it's different in SMF2..sorry about that.
It worked! Thank-you very much. :)
There were more than 8 lines to remove, I think, and I also removed the (false); and (true); that came after ajax_indicator... Haha. Not sure if I was supposed to do that, but it's working perfectly.
Thanks again! :D
Note that the ajax loader is a smf feature, not something this mod installed... and i recommend leaving it in place. it can be a great indicator of trouble if it appears but never goes away
Hi Slammed, I have been using this script on my forum forever. Thank you so much for the work you've put into this little beautiful mod. :)
With that said, what is the current progress on this known issue?
Quote from: SlammedDime on May 29, 2008, 06:59:11 PM
Known Issues:
After posting, boardindex still shows board as unread (or, has new replies)
I am using SMF 1.1.12, is there a fix for this bug that I am not seeing, or is it still unresolved? (I looked first for about an hour before posting this, fyi. Sorry if I missed something.)
Hey I am Subject13 and I run a site named Xenomorph Hive (http://xenomorph-hive.net/) We have tons of customizable looks on the forums and I would really like to install this mod but it does not show up on any of the themes we are using. There is a total of three themes being used and they were all made by Dziner Studio with many tweaks and updates made to them. My SMF Version is 1.1.12. I use the following mods:
1. Remove Reply Prefix
2. Ultimate Profile
3. Favicon
4. YouTube BBCode
5. Topic View Log
6. Aeva Media
7. Advanced Login Form
8. VB Style Board Index
9. PM On Registration
10. AJAX Instant Quick Reply
11. Spoiler BBCode
12. Increase/Decrease Postbox Size
13. Anti-Spam Verification Questions
14. SimplePortal
As with all mods installed in SMF, they need to be manually installed on any theme besides the default. If your custom theme does not have the theme files this modifies, SMF automatically falls back to the default, so you don't need to edit that particular file. You will need to manually install the mod on any of your custom themes.
Quote from: abraamz on December 09, 2010, 03:50:51 PM
I have just realized that this mod makes posts with html entities in my forum. I posted with AJAX reply and then with regular reply and the first was entities and the second regular text.
Its a forum with greek language, charset=windows-1253
is that how it is supposed to work, or is it a bug?
It's a bug, the AJAX POST is not being submitted properly.
This is a bump on my last post which you missed.
----------
Hi Slammed, I have been using this script on my forum forever. Thank you so much for the work you've put into this little beautiful mod. :)
With that said, what is the current progress on this known issue?
Quote from: SlammedDime on May 29, 2008, 06:59:11 PM
Known Issues:
After posting, boardindex still shows board as unread (or, has new replies)
I am using SMF 1.1.12, is there a fix for this bug that I am not seeing, or is it still unresolved? (I looked first for about an hour before posting this, fyi. Sorry if I missed something.)
*Note: I tried to use the fix listed right after it (although it is unclear whether or not that fix is related to the issue), where you add in the line with the "goback" code in it, but that didn't seem to solve the issue. Please let me know, thanks. :)
Quote from: SlammedDime on January 12, 2011, 09:52:52 PM
It's a bug, the AJAX POST is not being submitted properly.
How can i repair the messages with the html entities in my database?
Is there some script or any phpmyadmin trick?
Not that I know of unfortunately. You could try to just straight up edit the post and resave it and that might do it. Once I get this project setup on Bitbucket I'll have to add this to the bug tracker.
Edit: Tracked (https://code.mattzuba.com/ajax-quick-reply/issue/1/utf-8-board-submitting-entities-via-post)
@SlammedDime - Is there a fix to the "After posting, boardindex still shows board as unread (or, has new replies)" issue? A simple yes or no will suffice. :)
I couldn't tell if your previous posts were addressing my question or someone else's.
I don't remember at the moment... I'll have to test later (or if someone wants to for me) and check.
have installed it but it just normal reply not ajax. what to do?
Read the first post of the topic; specifically the last FAQ.
does it work alongside WYSIWYG Quick Reply v2 (http://custom.simplemachines.org/mods/index.php?mod=1299) ?
at least for me in 2.0 RC4 it doesn't; when i click on Post button it does nothing!
Not likely without some modification. I'm going to make an effort with the next version of the mod to make it theme and 'other mod' dependent, but no promises.
Hello, Ok I am far from experienced with editing templates and stuff.
I am using Actualism theme by Crip. I have installed a quick reply and shoutbox but neither are showing. They show on the default theme so i understand I need to edit the template in the Actualism theme.
I clicked the parser and selected 1.1.12 as that is what my forum is.
It starts with the 1st edit being ./Sources/Errors.php. I go into my themes and layout section, modify themes, then browse the template and files. I can't see ./Sources/Errors.php in there. I have images, languages, index.php, index.template.php, style.css and theme_info so where would I find this if I am looking in the correct section ? If not can someone point me to the correct section.
Thanks.
You need to edit anything in the ./Themes directory. ./Sources is the main Sources folder and those files have already been edited.
thanks, but there isn't a Themes directory where I am looking.
Am I looking in the right place ?
Just look for the file names... if the path is Themes/default/Display.template.php, you need to look for and edit Display.template.php in your theme.
QuoteI go into my themes and layout section, modify themes, then browse the template and files. I have images, languages, index.php, index.template.php, style.css and theme_info so where would I find this if I am looking in the correct section ? If not can someone point me to the correct section.
Am i missing something. The file names i listed above are all I see. I see no Display.template.php.
I take it I am looking in the wrong section ??
If you don't see it, you don't have to edit it. If you don't see it, that means SMF is falling back to the default during runtime. Based on the files you have, you shouldn't have to edit anything, it should work 'out of the box' on your theme.
OK so if I don't need to edit any template where are the settings to enable the quick reply to show up ?
Thanks
Forgive the following for sounding harsh... As I have said time and time and time again in this topic, and even in the first post as an FAQ, this mod does not add quick reply to your forum. Quick reply is a standard feature already available with SMF, this mod only enhances how it operates.
http://docs.simplemachines.org/index.php?topic=188.0
Quote from: SlammedDime on January 26, 2011, 06:35:29 PM
Forgive the following for sounding harsh... As I have said time and time and time again in this topic
I thought you knew by now that most mod users don't read what's put in front of them, even if in the mod thread, mod page and mod readme, people will still ask... :P (And people wondered why Nao got so frustrated ;))
/off topic
This is still a sexy mod.
Ok i didn't know it was built in.
Now i have found it. How difficult was that for something so simple.
Sorry for wasting your time. But thanks for the help.
Hello mr. SlammedDime. I will try not to be pain in the ass and will explain it well, although, there's not much to explain.
So, here it is. I've installed brand new SMF 2.0.4 RC4 version on my web hosting, all went smooth. After that, I've installed couple of themes and finally, I wanted to install your mod. However, even tho it all went without a problem, it's not really working. After quick reply is posted, I'm being sent back to topics view.
Theme I'm using is: Krilliun
I've tried changing back to default theme (Curve I think it's called) and try it there, but still no effect.. If you'd be able to assist me in any way, I'd appreciate it. I'm quite sure somebody else had the same problem like me before, but I couldn't really read 42 pages - I've read some but couldn't find anything. If you need to take a closer look at this, I'm willing to give you everything you need in order to help me with this (forum account with admin privileges, even hosting access, lol :)).
Problem is, I haven't used SMF for nearly 3-4 years and I've been using phpBB3 during that time.. And I'm not sure if there is some "theme" refresh button like phpBB3 has, to have it shown & working..
Thanks in advance
all I need is a normal user test account and a link to your forum to test it myself. Make sure you have cleared your cache in your browser and also make sure you have enabled the option to return to the topic after posting, instead of returning to the topic index (which is an SMF option located in your profile's look and layout options, not an option of this mod (infact, this mod has no options))
Wow... I totally forgot about this option! I was wondering why I was always sent to topic index page instead of the topic where I posted!
I turned it on and it works! Thank you a lot :)
Tried on RC5 (fresh install) and failed for a number of replacements on /Themes/default/Display.template.php.
Also, this file was not found:
./Themes/default/scripts/xml_topic.js
Hello Everyone. I was wondering how I could enable by default this mod for all users...
The default is : don't show at all..
How I could change it to: show on by default ?
Thx in adv
Quote from: Original21 on February 20, 2011, 03:15:06 PM
Hello Everyone. I was wondering how I could enable by default this mod for all users...
The default is : don't show at all..
How I could change it to: show on by default ?
Thx in adv
I think you mean Quick Reply in general, not this mod
Quote from: Jessica. on February 20, 2011, 05:23:02 PM
Quote from: Original21 on February 20, 2011, 03:15:06 PM
Hello Everyone. I was wondering how I could enable by default this mod for all users...
The default is : don't show at all..
How I could change it to: show on by default ?
Thx in adv
I think you mean Quick Reply in general, not this mod
maybe yes
RC5 update... PLEASE!!!!!
WHen i have time, thanks!
sorry if this seems like a stupid thing to ask but:
has something changed in 2.0 RC5 that "cripples" this mod per say or can we just emulate a lower RC to make it work?
also awsome work SlammedDime, hope you get the time to update :P
I'm not sure, I haven't tested it on RC5.
well for now it seems to work in RC5 if one emulate RC4 under advanced in packages.... Have not tested it much yet but a few tries with no problem
Can you tell me how can i make it works for RC5 please?
Also i don't know what you mean with emulate. Can someone explain me that please?
Thanks!
Click 'Advanced' at the bottom of the 'Browse Packages' screen in your admin panel and change the version to RC4.
Quote from: SlammedDime on June 13, 2011, 11:36:59 AM
Click 'Advanced' at the bottom of the 'Browse Packages' screen in your admin panel and change the version to RC4.
So does that mean this works fine in 2.0 final if you simply emulate RC4?
Haven't tested it... it probably will.
can't get that to work
What modification can i do manually for making this interact with WYSIYWG quick answer editor ?
http://custom.simplemachines.org/mods/index.php?mod=1299
help please.
Thanks
Quote from: SlammedDime on June 13, 2011, 11:36:59 AM
Click 'Advanced' at the bottom of the 'Browse Packages' screen in your admin panel and change the version to RC4.
going to try this..
Incredible Mod. I've been waiting for something like this for a while now, just discovered it. Excellent work.
Quote from: sremick on June 14, 2011, 05:11:28 PM
Quote from: SlammedDime on June 13, 2011, 11:36:59 AM
Click 'Advanced' at the bottom of the 'Browse Packages' screen in your admin panel and change the version to RC4.
So does that mean this works fine in 2.0 final if you simply emulate RC4?
Did you test? How do you emulate RC4?
Quote from: SlammedDime on June 13, 2011, 11:36:59 AM
Click 'Advanced' at the bottom of the 'Browse Packages' screen in your admin panel and change the version to RC4.
that's what you do. I have 2.0 final and it installed fine
Quote from: Jessica. on June 22, 2011, 08:57:06 PM
Quote from: SlammedDime on June 13, 2011, 11:36:59 AM
Click 'Advanced' at the bottom of the 'Browse Packages' screen in your admin panel and change the version to RC4.
that's what you do. I have 2.0 final and it installed fine
I emulated the version as you said but it shows "test failed" errors when trying to apply it to Core theme, any suggestions?
It won't work on Core, it's not made to. It'll only work on Curve and any theme based on Curve.
Quote from: SlammedDime on June 23, 2011, 11:47:38 AM
It won't work on Core, it's not made to. It'll only work on Curve and any theme based on Curve.
IUt can be made to work on anything.
Sure it can, but I don't support it on Core except for SMF 1.1.x.
Is it possible to make Quick Reply for everyone and not just manual?
Okay, I understand the usefulness of having the AJAX loading bar, but the bar just looks so ugly so I had to remove it. If I have the option of using a different kind of loading indicator, then I might change my mind.
Anyway, this mod installed on my 2.0 Gold forum and Ambassador theme just fine. It's working as it should, even after I removed the ugly loading bar.
Update pleaseeee :)
The ugly loading bar can be fully edited via css.
Quote from: Miss All Sunday on August 12, 2011, 11:34:12 PM
The ugly loading bar can be fully edited via css.
You're right, but what I had in mind was more of an admin option to choose which loading bar to use. If I had to choose, I'd prefer that little loading spiral thingy that appears over flash media to show that the media is loading.
Mm, I should have commented out the ajax indicators instead of removing them. Well, it's too late for that now. I'll just have to edit them back in if I need them.
Quote from: Keat on August 12, 2011, 11:21:22 PM
Update pleaseeee :)
It works on 2.0 Gold. You may have to emulate to an earlier version of SMF though, and possibly do some manual edits.
Sounds like a good idea...
QuoteI'd prefer that little loading spiral thingy that appears over flash media to show that the media is loading.
Quote from: Miss All Sunday on August 12, 2011, 11:34:12 PM
The ugly loading bar can be fully edited via css.
to have an admin chose is not logical since we will be limiting the choices you may have, its far better to let the admin change the loading bar via css.
Of course, the "spiral thingy" can be placed instead of the abr with no problems using css.
What happens if other people replies at the same time on one post? (because I was writing my reply for 2hours, for example...)
I will see just my ajaxed reply? and then when visiting the post again will see the other people replies
Quote from: Miss All Sunday on August 13, 2011, 09:04:53 PM
Quote from: Miss All Sunday on August 12, 2011, 11:34:12 PM
The ugly loading bar can be fully edited via css.
to have an admin chose is not logical since we will be limiting the choices you may have, its far better to let the admin change the loading bar via css.
Of course, the "spiral thingy" can be placed instead of the abr with no problems using css.
I've created a mod for this (1.1.14)... Let me know if you want to test it out.
Quote from: luuuciano on August 14, 2011, 03:40:55 AM
What happens if other people replies at the same time on one post? (because I was writing my reply for 2hours, for example...)
I will see just my ajaxed reply? and then when visiting the post again will see the other people replies
If you were writing your reply for 2 hours then SMF will tell you that your session time has expired.
So, I can not write books on smf... damn
hehehe, it was just an example, lets try another more apropiated... the thread is hot, so people is writing a lot of replies too fast
The ajax reply will inform that someone else has written and do not post (lost my reply content?)? will post my reply but I will not see other replies until reload that page?
(Im just curious)
I'm not that familiar with this mod but the code seems to indicate you will get the classic notification that someone has replied before you, in that case the page will redirect you to the normal post area.
I know this may be too much to ask, but I'm using the theme SMF:Revisited and I am having a difficult time parsing it, could anyone try it out for me? :(
I have my display.template.php attached :-\
Hi there, i'm having some problems integrating this with WYSIWYG QR
i ¡'ve found the code AJAX QR modified from WysiwygQR on my Display.template.php
Can anyone help me to debug this ?
red lines are content deleted from WYSIWYG QR by AJAX QR
green lines are the content added
(
i figured out this is the only code where they touch eachother)Quote
<div id="qr_buttons"><input type="submit" name="post" value="', $txt['post'], '" onclick="return submitThisOnce(this);"', $context['ajax_quick_reply'] ? 'oQuickReply.ajax_reply(\" . $context['session_var'] . '\', \" . $context['session_id'] . '\')' : 'submitThisOnce(this)', ';"
accesskey="s" tabindex="', $context['tabindex']++, '" class="button_submit"/><input/><input type="submit" name="preview" value="', $txt['preview'], '" onclick="return submitThisOnce(this);" accesskey="p" tabindex="', $context['tabindex']++, '" class="button_submit" />';
if ($context['show_spellchecking'])[/l]
In order to fix this, what can i do ? Sorry i'm just a noob at php
thanks
This looks lovely... has anyone tried if it works with 2.0.1?
Quote from: Ascot on November 23, 2011, 07:31:07 PM
Hi there, i'm having some problems integrating this with WYSIWYG QR
i ¡'ve found the code AJAX QR modified from WysiwygQR on my Display.template.php
Can anyone help me to debug this ?
red lines are content deleted from WYSIWYG QR by AJAX QR
green lines are the content added
( i figured out this is the only code where they touch eachother)
Quote
<div id="qr_buttons"><input type="submit" name="post" value="', $txt['post'], '" onclick="return submitThisOnce(this);"', $context['ajax_quick_reply'] ? 'oQuickReply.ajax_reply(\" . $context['session_var'] . '\', \" . $context['session_id'] . '\')' : 'submitThisOnce(this)', ';"
accesskey="s" tabindex="', $context['tabindex']++, '" class="button_submit"/><input/><input type="submit" name="preview" value="', $txt['preview'], '" onclick="return submitThisOnce(this);" accesskey="p" tabindex="', $context['tabindex']++, '" class="button_submit" />';
if ($context['show_spellchecking'])[/l]
In order to fix this, what can i do ? Sorry i'm just a noob at php
thanks
Help please, i been waiting for days.
SMF 2.0.2 user: tried to install it emulating smf 2.0 RC4 - Just toooo many edits to Display.template required. Too many. maybe some other time...
Works like a charm...Thanks for the mod
can't get it to work with SMF 2.0.2
How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
Can i get help with this mod?
i installed this mod without any error. But when i reply to any topic it does not show me the post. And when i refresh the page i can see the new post.
it makes post but cannot show it immediately.. :s
Its not installing in LikeVB theme.
When installing i got 2 errors in display.template.php
Is there any1 to help?
Quote from: Game.ruler on April 28, 2012, 08:50:21 AM
Its not installing in LikeVB theme.
When installing i got 2 errors in display.template.php
Is there any1 to help?
Game.ruler, I like your theme, reminds me of vBulletin
Quote from: Ascot on November 23, 2011, 07:31:07 PM
Hi there, i'm having some problems integrating this with WYSIWYG QR
i ¡'ve found the code AJAX QR modified from WysiwygQR on my Display.template.php
Can anyone help me to debug this ?
red lines are content deleted from WYSIWYG QR by AJAX QR
green lines are the content added
( i figured out this is the only code where they touch eachother)
Quote
<div id="qr_buttons"><input type="submit" name="post" value="', $txt['post'], '" onclick="return submitThisOnce(this);"', $context['ajax_quick_reply'] ? 'oQuickReply.ajax_reply(\" . $context['session_var'] . '\', \" . $context['session_id'] . '\')' : 'submitThisOnce(this)', ';"
accesskey="s" tabindex="', $context['tabindex']++, '" class="button_submit"/><input/><input type="submit" name="preview" value="', $txt['preview'], '" onclick="return submitThisOnce(this);" accesskey="p" tabindex="', $context['tabindex']++, '" class="button_submit" />';
if ($context['show_spellchecking'])[/l]
In order to fix this, what can i do ? Sorry i'm just a noob at php
thanks
Im having the same problem, my quick reply will not work with the new WYSIWYG nothing happens at all. The only way to post is to use the normal reply.
I installed the mod on my forum 2.0.2, had some errors in Display.template, but installing via correct parse.
But the mod did not work, can someone help me fix this?
is this MOD still alive. i wish it updated to version 2.0.3
It depends on the mod's license, currently the mod is licensed under a creative common Attribution-NonCommercial-NoDerivs 3.0, it means that you can redistribute the current mod but you cannot make derivations of it and thus, you cannot redistribute those derivations.
If you like to take over this mod, talk to the mod author, ask for permission from him and then ask the cust team to make the transfer to you, you will need to determinate the overall copyrights with the mod author as copyright and license are two different entities.
The mod is pretty much alive, at least for the 2.0.x branch.
Quote from: humbleworld on January 17, 2013, 02:44:16 AM
is this MOD still alive. i wish it updated to version 2.0.3
I've tried on 2.0.2 and it works fine. So I'm pretty sure it will work on 2.0.3
Quote from: Jessica. on January 17, 2013, 10:03:40 PM
Quote from: humbleworld on January 17, 2013, 02:44:16 AM
is this MOD still alive. i wish it updated to version 2.0.3
I've tried on 2.0.2 and it works fine. So I'm pretty sure it will work on 2.0.3
installed manual but not working with 2.0.3 for me.
How can i make it work on all the members?
I installed this mod back with 2.0 was in a RC stage and it never worked. It also did not break my forum so I just left it be.
Recently I've had some time to tackle some forum work and decided to get this mod up and running. I removed it all and reinstalled for 2.0.4 and am still getting nothing.
In troubleshooting, I noticed that the lines for <!-- Start Single Post -->
and <!-- End Single Post -->
are not appearing in the final page output/render.
These lines are controlled by if (isset($context['message']))
so apparently my $context['message']
is never being set. I did a print_r of $context and sure enough [message] is not defined.
Looking over the code, this is only defined when !empty($_REQUEST['message'])
is TRUE as per the first edit of /Sources/Display.php.
The code for Post.php has $_REQUEST['message']
being set when isset($_REQUEST['xml'])
is TRUE.
This is as far as I can get. I assume this is set the moment someone tries to post a Quick Reply, as I believe it is the POST/GET data sent from the browser but I don't know how to capture & trouble shoot this...
Can someone help? Why would $_REQUEST['xml'] not be set? Or could someone show me how to print the contents of $_REQUEST so I can trouble shoot it?
Thanks!
BigMike
EDIT:
In Sources/Post.php I found:
if (!isset($_REQUEST['xml']))
loadTemplate('Post');
But not sure what to do with this.
Quote from: BigMike on June 05, 2013, 04:06:30 PM
Can someone help? Why would $_REQUEST['xml'] not be set? Or could someone show me how to print the contents of $_REQUEST so I can trouble shoot it?
Anyone please?
Thanks
BigMike
Can i get some advise, i installed it on my forum but its not working perfect. When i type then i hit post nothing happens. so i hit post again and nothing happens. but when you go to the board you see that you post twwice the same thing.
so it post but it looks like nothing its happening.
If you've installed in on SMF 2, it's not programmed correctly for it. On SMF 1, however, it works perfectly.
Thank you for the reply.
Quote from: Liam_michael on June 25, 2013, 12:18:06 AM
If you've installed in on SMF 2, it's not programmed correctly for it. On SMF 1, however, it works perfectly.
This is quite unfortunate.
I've come to realize that this mod really isn't a big deal. It's a nice feature (a cool add-on), but it really isn't a website game changer.
While I certainly agree its not a game changer, for the industry we are in nearly 90% of competing forums run vBulletin and they all have a instant quick reply feature. The main benefit in my opinion is a reduced server load, and secondary benefit would be increased participation.
I need to learn more about Javascript and AJAX before I can figure out what my issue is (as described six replies above).
BigMike
Quote from: Liam_michael on June 25, 2013, 12:18:06 AM
If you've installed in on SMF 2, it's not programmed correctly for it. On SMF 1, however, it works perfectly.
Works fine on my SMF.
Good Night everyone.
I am trying install this MOD in my forum, but, it is not working correctly, show the message
"It's not compatible in your version SMF"
Somebody know the resolution of problem?
Sorry for my bad english, i am brazilian.:
My SMF is 2.0.4 version
manual install on 2.0.3 worked just fine.
Only one line was a real issue
display: none;" onclick="oQuickModify.modifyMsg
in display.template doesnt exist in my 2.0.3 so i just ignored it. :D
I have a problem here.
The page reload ever that i make a post and return to board.
How I modifity this and avoid this reload?
I don't really think it is that difficult to install even on a custom theme. However, I don't offer support. You can test quick reply (with this mod's ajax) in my test site. Even as a guest, it works.
Quote from: Liam_michael on June 25, 2013, 12:18:06 AM
If you've installed in on SMF 2, it's not programmed correctly for it.
It seems there are some here who have successfully installed this on SMF 2.x, correct? ahrasis mentions it working on his or her test site, and although he or she does not provide a link, I went to his or her site from his or her profile and that site is SMF 2.1 ... but the site requires an account to view and therefore I cannot verify if that is indeed the test site in question.
Quote from: BigMike on September 17, 2013, 01:12:32 PM
Quote from: Liam_michael on June 25, 2013, 12:18:06 AM
If you've installed in on SMF 2, it's not programmed correctly for it.
It seems there are some here who have successfully installed this on SMF 2.x, correct? ahrasis mentions it working on his or her test site, and although he or she does not provide a link, I went to his or her site from his or her profile and that site is SMF 2.1 ... but the site requires an account to view and therefore I cannot verify if that is indeed the test site in question.
Sorry. My test site is in my signature: http://anypost.qom.my. It doesn't require registration / login to post a reply.
By the way, I haven't maintained my personal website http://ahrasis.com for quite sometimes. It seems to have some problems.
ahrasis,
Thank you for the reply. I see this mod is not functioning properly on your SMF 2.0.5 test site. Not with Firefox 25.0, not with Chrome 29.0.x, and not with IE 8.
Can anyone help me with reply #882 above? If so then thanks!
Regards,
Mike
Quote from: BigMike on September 23, 2013, 03:47:39 PM
ahrasis,
Thank you for the reply. I see this mod is not functioning properly on your SMF 2.0.5 test site. Not with Firefox 25.0, not with Chrome 29.0.x, and not with IE 8.
Can anyone help me with reply #882 above? If so then thanks!
Regards,
Mike
Funny, I re-tested ajax reply but only find it working just fine on all three browser you said here: http://anypost.qom.my/index.php?topic=655770.msg828574#msg828574
EDITED: It works for registered user. Login: ajaxtester Password: ajaxtester http://anypost.qom.my/
I just tried that as a guest and it posted and I was redirected back to the topic list. It works as expected for a registered user. Chrome 30 here.
Has anyone else experience the quick edit not working with this thing installed?
There seems to be a problem either on new version of SMF or Chrome. When the new post is aded the site does not "reload" and in the consol I get an error -
Uncaught TypeError: Object #<error> has no method 'getElementsByTagName'
in the onPostDone function.
Any ideas?
Possible is update to SMF 2.0.7 version?
I install here emulating SMF 2.0 RC4 version and not work.
It is surprising that you cannot install via emulating to SMF 2.0 RC4. If you have followed this topic: "How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_install_a_mod_that_doesn%27t_work_in_my_SMF_version)", you might see some errors but that may be due to some other mods. It definitely can be fixed by manual modifications.
In case you still wanna install this mod, you have to manually modify the related files. I listed them out for you:
$sourcedir/Errors.php
$sourcedir/Display.php
$sourcedir/Post.php
$themedir/Display.template.php
$themedir/scripts/topic.js
$themedir/Xml.template.php
If you can get that files and attach them here, may be I or somebody else will help you in making the necessary changes to the said files.
Will this work with this http://custom.simplemachines.org/mods/index.php?mod=1299
I dont see why it will not...
Installed on 2.0.8 with no errors! Awesome. (For the record I haven't installed the previous mod I mentioned yet).
I didn't have this:
Find:
if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
Replace:
if (!isset($_REQUEST['xml']) && (isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
but said it wasn't vital so nevermind. Many thanks for this mod.
file curropted :s
This modification doesn't work with YouTube links and SimpleColorizer for me.
It isn't important, but I will be pleasure to solve these inconveniences.
perfect work smf 2.0.11
Its not working with SMF 2.0.12
please update this one really need this..................................................... uhhhh
Hello!
Are you sure? This should work almost on any SMF version... You can follow this in case you didn't previously: How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
By the way, an update for this Mod is not probable since the author's last connection was on 2014.
Regards :)
Quote from: d3vcho on December 05, 2016, 02:40:22 PM
Hello!
Are you sure? This should work almost on any SMF version... You can follow this in case you didn't previously: How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
By the way, an update for this Mod is not probable since the author's last connection was on 2014.
Regards :)
Hello Thanks for your help. I succeed to install the mod
but now i cant enable it on my forum. It says i have to enable but there i cant find the configurations and i dont know where to enable mods
Working fine on 2.0.14 after manually editing the files.
Quote from: Harvest on December 05, 2013, 03:18:41 PM
There seems to be a problem either on new version of SMF or Chrome. When the new post is aded the site does not "reload" and in the consol I get an error -
Uncaught TypeError: Object #<error> has no method 'getElementsByTagName'
in the onPostDone function.
Any ideas?
Bumping. Same here on SMF 2.0.15
Firefox, Opera and Vivaldi are working fine without any errors in console.
Chrome and Safari are the only ones not producing the right output - in order to see the message the manual page refresh is needed and console is being filled with error
XMLDoc.getElementsByTagName is not a function