Advertisement:

Author Topic: Quick Edit Not Working  (Read 4656 times)

Offline Özgür

  • SMF Hero
  • ******
  • Posts: 3,924
  • Gender: Male
  • Özgür | jQuery Lover
    • ozgurce on Facebook
    • @ozgurce on Twitter
    • Özgür Yalçın
Quick Edit Not Working
« on: January 13, 2009, 04:19:11 PM »
I try edit my messages in my site (quick edit) not working.

in mozilla

element is null
[Break on this error] if (typeof(element.innerHTML) != 'undefined')

and

smf_scripturl is not defined
[Break on this error] setInnerHTML(document.getElementById(th... + this.opt.iCurBoardId + '.0\';" />'));

my script.js and display.template.php in attachment.
« Last Edit: January 27, 2009, 07:04:47 PM by Özgür´ »

Offline Özgür

  • SMF Hero
  • ******
  • Posts: 3,924
  • Gender: Male
  • Özgür | jQuery Lover
    • ozgurce on Facebook
    • @ozgurce on Twitter
    • Özgür Yalçın
Re: Quick Edit Not Working
« Reply #1 on: January 14, 2009, 03:00:12 PM »
Any idea?

Offline Rumbaar

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,805
  • Gender: Male
  • Inherent Omniscience
    • Rumbaar.net
Re: Quick Edit Not Working
« Reply #2 on: January 27, 2009, 05:27:31 PM »
I hit your forum (in profile) and there doesn't appear to be any javascript errors when viewing as guest, can you supply a test account?  As it might be a logged in user issue.

What mods do you have installed?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Offline Özgür

  • SMF Hero
  • ******
  • Posts: 3,924
  • Gender: Male
  • Özgür | jQuery Lover
    • ozgurce on Facebook
    • @ozgurce on Twitter
    • Özgür Yalçın
Re: Quick Edit Not Working
« Reply #3 on: January 27, 2009, 06:59:59 PM »
I used lot of mod.

1.     Advanced Contact Form     1.1     [ Kaldır ]
2.    Ad Managment    2.3.4    [ Kaldır ]
3.    Aeva ~ Auto-Embed Video & Audio    5.1.47    [ Kaldır ]
4.    AjaxInlineMessagePreview    1.00    [ Kaldır ]
5.    Auto Merge Double Post    1.2    [ Kaldır ]
6.    Bookmarks    2.2    [ Kaldır ]
7.    Contributions in Boards    1.1    [ Kaldır ]
8.    Custom Fields On Memberlist    1.0    [ Kaldır ]
9.    Custom Form Mod    1.1    [ Kaldır ]
10.    Downloads System    1.1.5    [ Kaldır ]
11.    E-Arcade    Beta 2 for SMF2    [ Kaldır ]
12.    EmailValidator    1.0    [ Kaldır ]
13.    Global Headers Footers    2.0    [ Kaldır ]
14.    Ignore Board In New Posts    1.0    [ Kaldır ]
15.    Last Post On MemberList    1    [ Kaldır ]
16.    Load Standard Language    1.0.2    [ Kaldır ]
17.    Memberlist_Xrevolution    1.1.1    [ Kaldır ]
18.    vBulletin Style Meta Tags    1.1    [ Kaldır ]
19.    More Spiders    1.2    [ Kaldır ]
20.    New Style Message Icon    1.0    [ Kaldır ]
21.    NoFollow All Links    1.0    [ Kaldır ]
22.    Pm_Informer    1.0    [ Kaldır ]
23.    PM to New Members    1.0    [ Kaldır ]
24.    Post Box Message    1.1    [ Kaldır ]
25.    Posting_Announcement    1.1.2    [ Kaldır ]
26.    Pretty URLs    0.9    [ Kaldır ]
27.    Pretty URLs Extras    0.9    [ Kaldır ]
28.    Profile Visitors    4.1    [ Kaldır ]
29.    Profil Moderator Managment    1.0.0    [ Kaldır ]
30.    Reflection Img BBC    1.1    [ Kaldır ]
31.    Save PM as HTML    1.0.6    [ Kaldır ]
32.    Show Local Url Titles    1    [ Kaldır ]
33.    Simple Award System    2.0.0.4b    [ Kaldır ]
34.    SimplePortal - Turkish    1    [ Kaldır ]
35.    Single Category    1.0    [ Kaldır ]
36.    SMF Articles    1.0.1.5    [ Kaldır ]
37.    SMF Media Gallery    1.5 RC 3    [ Kaldır ]
38.    SMFShop    3.1    [ Kaldır ]
39.    SMF Staff Page    1.6    [ Kaldır ]
40.    AJAX Instant Quick Reply    1.0.1    [ Kaldır ]
41.    AJAX Recent Topics    1.0.1    [ Kaldır ]
42.    SMF Arcade Language Pack english    2.5 Beta 2    [ Kaldır ]
43.    SMF Sitemap    1.3.0    [ Kaldır ]
44.    Static Topics    1.0    [ Kaldır ]
45.    The Rules    1.04    [ Kaldır ]
46.    New Topic Button    1.0    [ Kaldır ]
47.    Topic View Log    1.1    [ Kaldır ]
48.    Ultimate Profile    0.8.5    [ Kaldır ]
49.    Users Online Today    1.5.3    [ Kaldır ]
50.    Message index like vbulletin    0.1    [ Kaldır ]
51.    arcwd    1.0e    [ Kaldır ]
52.    Who_Xrevolution    1.0    [ Kaldır ]
53.    Wiki Links    1.0    [ Kaldır ]
54.    Wislander.com Avatars    1.0    [ Kaldır ]
55.    Wysiwyg Quick Reply    1.1    [ Kaldır ]
:D

But i suppose this is not mod mistake, because this is theme issue. (theme writer say : "We will solve it soon! ". but update is too late.

I used my theme but display.template.php to vogue http://custom.simplemachines.org/themes/index.php?lemma=1236

Test account
Sebastian
123456
« Last Edit: January 27, 2009, 07:12:51 PM by Özgür´ »

Offline Rumbaar

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,805
  • Gender: Male
  • Inherent Omniscience
    • Rumbaar.net
Re: Quick Edit Not Working
« Reply #4 on: January 27, 2009, 07:13:03 PM »
I can't read the site, is there anywhere I can make some test posts and try the quick editor?

Also I see you use some additional javascripts, I know conflicting js can cause issue with the boards built in features.
Code: [Select]
<script src="http://www.rockayseri.net/rk/menu/menu.js" type="text/javascript"></script>I see a second menu.js call.   Did this issue start with just this theme?  If so I guess you don't get the problem when using the default CORE theme?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Offline Özgür

  • SMF Hero
  • ******
  • Posts: 3,924
  • Gender: Male
  • Özgür | jQuery Lover
    • ozgurce on Facebook
    • @ozgurce on Twitter
    • Özgür Yalçın
Re: Quick Edit Not Working
« Reply #5 on: January 27, 2009, 07:20:32 PM »
Yes, start with this theme. In default theme work fine everthing.

You can test in http://www.rockayseri.net/rk/test-board/ this board. (and i fix menu.js fault. but no change anything)

is quick modify

is new topic


Edit : menu/menu.js
and
Theme/rockayseri/menu.js

Not same. I forget this (first is top menu, second is display.template.php menu)
« Last Edit: January 27, 2009, 07:25:45 PM by Özgür´ »

Offline Rumbaar

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,805
  • Gender: Male
  • Inherent Omniscience
    • Rumbaar.net
Re: Quick Edit Not Working
« Reply #6 on: January 27, 2009, 07:25:46 PM »
Okay then, sorry to say if it's an issue with this theme then I'll leave it to the themes author.  Can you find out what javascript files that theme uses that is different to the others.  You can then try and removed those all and add them back one by one until you get the issue.

Most likely it's resetting a key javascript var and that is way you are getting null/undefined errors
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Offline Özgür

  • SMF Hero
  • ******
  • Posts: 3,924
  • Gender: Male
  • Özgür | jQuery Lover
    • ozgurce on Facebook
    • @ozgurce on Twitter
    • Özgür Yalçın
Re: Quick Edit Not Working
« Reply #7 on: January 27, 2009, 07:27:19 PM »
Thank you, then I click to Topic Solved. Or can you locked that topic ?