Uutiset:

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

Main Menu
Advertisement:

Quote is not working

Aloittaja xenovanis, huhtikuu 11, 2006, 09:25:24 AP

« edellinen - seuraava »

xenovanis

SMF 1.1 RC2
Bridge 1.1.3
Joomla 1.0.7

If I try to quote a message (not using the summary / quick reply), I get redirected to
http://www.taxibalk.net/index.php?option=com_smf&Itemid=171?action=post;quote=4581;topic=604.0;sesc=62b19d9edc1ee5f580ed1d519eee4af7

And no new message is opened. If I try again after that, quoting works.
But, if I return to the forum index after that, I get redirected to:
http://www.taxibalk.net/index.php?option=com_smf&Itemid=99999999

This only happens when using the bridge, quoting works fine with the standalone forum. Any thoughts?
"Insanity: doing the same thing over and over again and expecting different results."

Orstio


xenovanis

Well, that's a good one.  :) Yes, it is, and I'm ashamed to say that I did have quick reply enabled in my profle, but never thought of that  :-[ It works in FF if quick reply is disabled. I did add the code to the template.
"Insanity: doing the same thing over and over again and expecting different results."

Orstio

LainaaI did add the code to the template.

What code to the template?

Bridge 1.1.3 in Joomla does not require any code addition in the Joomla template....

xenovanis

Sorry for confusing you  :-\ I meant the code for chadness' discussbot. Maybe that's the problem in the first place?
"Insanity: doing the same thing over and over again and expecting different results."

Orstio

Ah.  Hmmm...does the discussbot work at all with 1.1.3?

The problem is definitely javascript-related.  I just received a javascript error in IE after turning on the quick reply on your site.

xenovanis

#6
Yes, it does work so far, however the 4.1 final version gave me sql errors, the 4.1 beta 5 version seems to work.

By the way, your registration resulted in these errors:

http://www.taxibalk.net/forum/index.php?option=com_smf&Itemid=173&action=register2
2: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
File: /home/xeno/public_html/taxibalk/components/com_smf/smf.php
Line: 941
   
http://www.taxibalk.net/forum/index.php?option=com_smf&Itemid=173&action=register2
2: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
File: /home/xeno/public_html/taxibalk/components/com_smf/smf.php
Line: 929

http://www.taxibalk.net/forum/index.php?option=com_smf&Itemid=173&action=register2
8: Undefined index: memberName
File: /home/xeno/public_html/taxibalk/components/com_smf/smf.php
Line: 927
   
http://www.taxibalk.net/forum/index.php?option=com_smf&Itemid=173&action=register2
8: Undefined index: emailAddress
File: /home/xeno/public_html/taxibalk/components/com_smf/smf.php
Line: 922
   
http://www.taxibalk.net/forum/index.php?option=com_smf&Itemid=173&action=register2
8: Undefined index: memberName
File: /home/xeno/public_html/taxibalk/components/com_smf/smf.php
Line: 922
   
http://www.taxibalk.net/forum/index.php?option=com_smf&Itemid=173&action=register2
8: Undefined index: memberName
File: /home/xeno/public_html/taxibalk/components/com_smf/smf.php
Line: 917

I'll check on the js errors, I didn't notice them yet. Guess I'll need to check some more things as the Joomlaconvertion wasn't really flawless. Thanks for looking, Orstio  :)

edit: I can't reproduce js errors with ff?
edit 2: nevermind, the bot did work with Joomla 1.0.7, but has stopped working with 1.0.8
"Insanity: doing the same thing over and over again and expecting different results."

Orstio

Weird....I can't even find the doQuote function anywhere....   :-\

xenovanis

I uninstalled the mambot, but quoting in ff still isn't working with quick reply enabled. I'm going to reinstall everything tomorrow, both Joomla, SMF and the bridge. Probably something has gone wrong during upload/upgrade then... :-\
"Insanity: doing the same thing over and over again and expecting different results."

Orstio

#9
No, I meant in the SMF sources...I can't find the doQuote function to see what's going on there....

EDIT -- OK, I found it.  It's in your theme directory, xml_topic.js.

In smf.php, can you find this:

var smf_scripturl = "'. mambo_smf_url($scripturl) . '";


and change it to this:

var smf_scripturl = "'. un_htmlspecialchars(mambo_smf_url($scripturl)) . '";

xenovanis

I replaced it, quoting is still not working in FF. Works fine in IE.  :-\ I am not able to reproduce any js errors in IE, but I got these in Firefox. Now, my knowledge about javascript is below zero, so I hope these are relevant.


Fout XMLDoc
.getElementsByTagName("message")[0has no properties
Bronbestand http
://www.taxibalk.net/forum/Themes/default/xml_topic.js
Regel 54

Fout geen element gevonden
Bronbestand http
://www.taxibalk.net/index.php?option=com_smf&Itemid=173?action=quotefast;quote=6334;sesc=c31349d3cfa33724505a75df7beaa537;modify;xml
Regel 6Kolom 1
Broncode
^

Fout [Exception... "'Geen toestemming om eigenschap XULElement.selectedIndex te wijzigen' when calling method: [nsIAutoCompletePopup::selectedIndex]"  nsresult"0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location"JS frame :: http://www.taxibalk.net/index.php?option=com_smf&Itemid=173&action=unread :: handleEnter :: line 235"  datano]
Bronbestand http://www.taxibalk.net/index.php?option=com_smf&Itemid=173&action=unread
Regel 235

Fout element has no properties
Bronbestand http
://www.taxibalk.net/forum/Themes/default/script.js?rc2
Regel 240


I also noticed a js error about hashing, which unfortenately I couldn't retrieve.  :( Please let me know if you need anything else.
"Insanity: doing the same thing over and over again and expecting different results."

jestyr

I'm having the same issues (merged my issues into this thread.. original post pasted below
--------------------------------------------------------------------------------------

Ok.. here's some groundwork.  I recently migrated form mambo to joomla 1.0.8, and from SMF1.1 B3 to 1.1 RC2
I'm running the latest version of the bridge, and have SEF tuned off.

When I click the "quote" button in someones post the screen drops down to the quick reply box, but doesn't copy the quote into the quick reply box.

The quote DOES work in the normal SMF board without using the joomla/bridge link (i.e. http://www.site.com/forums [nofollow] )

I've dug an error up in IE (error doesn't show in forefox, but it still doesn't copy the text int the quick reply)

Line: 26
Char: 18
Error: Object required
Code: 0
URL: http://www.domain.com/index.php?option-com_sm4&Itemid=19&topic=1463.msg18615;topicseen


I've installed a clean copy of SMF (original forum was in teh /forum folder.. copied a completely new version of SMF into the /forums folder, copied my config.php, updated all the pointers to /forums and still the same error) Only thing I can think is somerthing is tweaked in the bridge/mambo integration.

I've also tried the code change Oristo proposed to no avail.
I am not running discussbot could this make a difference?

Any Ideas on what is causing this?

perplexed

#12
I have the same problem as of today since I upgraded to 1.1.3 bridge :(

I tried changing the code in the above post in smf.php but it made no difference, damn this was one thing that was working lol

It is not working in any browsers, and there is an error message at the bottom of IE that says 'errors on page'

When its 'loading' it says 'quote' at the bottom of the screen but the address bar says 'quick reply'

eg

http://mysite.com/index.php?option=com_smf&Itemid=77&topic=2010.msg37585#quickreply in address bar

http://mysite.com/index.php?option=com_smf&Itemid=77&action=post;quote=37584;num_replies=14;sesc=08755075af7c03bffe3f8f5e51e50429

I don't know if that helps, but the post # is different.  I am trying to quote the last post in the thread but it seems to be referencing the next post number  ie 37584 and 37585

perplexed

My problem with the quote on quick reply not working is now solved by a fluke lol

I use a copy of the default theme, with different css
Quote stopped working when I installed the new bridge 1.1.3

Today I made another copy of the default theme, changed the css to the same as the old theme, and the quote is working again

I dont know if that will help anyone but I thought I would just mention it

xenovanis

Lainaus käyttäjältä: perplexed - huhtikuu 17, 2006, 02:30:26 IP
My problem with the quote on quick reply not working is now solved by a fluke lol

I use a copy of the default theme, with different css
Quote stopped working when I installed the new bridge 1.1.3

Today I made another copy of the default theme, changed the css to the same as the old theme, and the quote is working again

I dont know if that will help anyone but I thought I would just mention it

How odd.. This did the trick indeed  ??? Doesn't make any sense though. Thanks for the suggestion.  :)
"Insanity: doing the same thing over and over again and expecting different results."

perplexed

yup I know it makes no sense since my theme is exactly the same as the one I was using before, but it does work now.

It also had the same effect on the 'jump to' menu which wasnt working before and when I changed theme, suddenly did *shrug*

I dont mind as long as it works :D

glad I could help someone for a change :)

dg

Lainaus käyttäjältä: perplexed - huhtikuu 17, 2006, 02:30:26 IP
My problem with the quote on quick reply not working is now solved by a fluke lol

I use a copy of the default theme, with different css
Quote stopped working when I installed the new bridge 1.1.3

Today I made another copy of the default theme, changed the css to the same as the old theme, and the quote is working again

I dont know if that will help anyone but I thought I would just mention it
I'd be willing to try this out if you could suggest how this can be accomplished using the SAFblue theme.  Would I still follow the same steps?

perplexed

hi DG

hmmm I dont know anything about the safblue theme - is it a default copy?

*goes to look at site*

btw I get an error box coming up on your site saying 'out of memory at line 404'  Just FYI

My thinking is that maybe whatever the bridge is doing, its not doing it to existing themes, if that makes sense, but creating a new theme seems to do the trick.  Sorry I'm not a techie that's just my idea is all

So I dunno, try making a new theme from default and changing the css etc or try uploading another safblue theme maybe with a different name so it doesnt override your safblue theme?

All I know is that my theme I was using when I installed the new bridge doesnt have the quote working but a new copy of default theme with all the changes that makes it *look* just like my old theme, works perfectly even though to the naked eye they are identical, something is different *shrug*



dg

Lainaus käyttäjältä: perplexed - huhtikuu 19, 2006, 08:52:59 AP
hi DG

hmmm I dont know anything about the safblue theme - is it a default copy?

*goes to look at site*

btw I get an error box coming up on your site saying 'out of memory at line 404'  Just FYI
Lol....
http://www.simplemachines.org/community/index.php?topic=81882.0

LainaaMy thinking is that maybe whatever the bridge is doing, its not doing it to existing themes, if that makes sense, but creating a new theme seems to do the trick.  Sorry I'm not a techie that's just my idea is all

So I dunno, try making a new theme from default and changing the css etc or try uploading another safblue theme maybe with a different name so it doesnt override your safblue theme?

All I know is that my theme I was using when I installed the new bridge doesnt have the quote working but a new copy of default theme with all the changes that makes it *look* just like my old theme, works perfectly even though to the naked eye they are identical, something is different *shrug*
Thanks...i'll try messing around with your suggestions.  I appreciate the response.

perplexed

no worries,
Lainaus käyttäjältä: dg - huhtikuu 19, 2006, 08:58:25 AP
Lainaus käyttäjältä: perplexed - huhtikuu 19, 2006, 08:52:59 AP
hi DG

hmmm I dont know anything about the safblue theme - is it a default copy?

*goes to look at site*

btw I get an error box coming up on your site saying 'out of memory at line 404'  Just FYI
Lol....
http://www.simplemachines.org/community/index.php?topic=81882.0

LainaaMy thinking is that maybe whatever the bridge is doing, its not doing it to existing themes, if that makes sense, but creating a new theme seems to do the trick.  Sorry I'm not a techie that's just my idea is all

So I dunno, try making a new theme from default and changing the css etc or try uploading another safblue theme maybe with a different name so it doesnt override your safblue theme?

All I know is that my theme I was using when I installed the new bridge doesnt have the quote working but a new copy of default theme with all the changes that makes it *look* just like my old theme, works perfectly even though to the naked eye they are identical, something is different *shrug*
Thanks...i'll try messing around with your suggestions.  I appreciate the response.


LOL that's funny, damned IE

Well I have no technical knowledge whatsoever but if it helps lol

Advertisement: