Announcement

Collapse
No announcement yet.

Cannot configure widgets - the pop up doesnt work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [CMS] Cannot configure widgets - the pop up doesnt work

    I have found a similar thread but it doesnt offe a solution and i still have the problem

    I have tried this:

    Originally posted by digitalpoint View Post
    I had the same issue, and it turned out it was because I had a CMS URL specified in the settings. Check your vBulletin settings under "Content Management" and see if you have "CMS URL" set to something other than blank (the default).

    The problem is the Configure link is actually an AJAX request, and AJAX can't make requests to domains (or sub-domains) other than the domain it was started from. Since I had the CMS URL set to http://articles.digitalpoint.com, the underlying AJAX request was going to http://articles.digitalpoint.com/widget.php, which is illegal (as far as AJAX is concerned) since the AJAX request started from http://forums.digitalpoint.com

    It's related to this bug report: http://tracker.vbulletin.com/browse/VBIV-6332

    Ideally the vB_Route::getCurrentURL() method should not be forcing an absolute URL when it's using the call to build a URL for an AJAX request (maybe it needs a $aboslute_url = true) option in the function or something.

    As a work-around, open up your admincp/cms_admin.php file, way down at the bottom, change this line:
    PHP Code:
    $config_url vB_Route::create('vBCms_Route_Widget''config/' $widget->getID() . '/0')->getCurrentURL(); 
    to this:
    PHP Code:
    $config_url str_replace(vB::$vbulletin->options['vbcms_url'], ''vB_Route::create('vBCms_Route_Widget''config/' $widget->getID() . '/0')->getCurrentURL()); 
    That will just strip whatever you have set in your CMS URL from the AJAX request URL.
    only my code doest say

    PHP Code:
    $config_url vB_Route::create('vBCms_Route_Widget''config/' $widget->getID() . '/0')->getCurrentURL(); 
    it says

    PHP Code:
    $config_url vBCms_Route_Widget::getUrl(array('action' =>'config' ,'widget' => $widget->getID()), nulltrue); 

    but i tried it just the same - and it didnt make a difference... i still cant configure widgets and i have no idea where to find the htacces and add the rewrite rules - i know i have seen the file somewhere before... but havent a clue where

    a little help please - i have been able to configure them without problems before - but now sudenly i cannot

    Thanks

  • #2
    What do you have set in AdminCP > Settings > Options > Forum Name/URL/etc > Forum URL? Do you have www.yoursite.com or just yoursite.com? Make sure you access your admincp using that same URL (with or without the www).

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment


    • #3
      Originally posted by Lynne View Post
      What do you have set in AdminCP > Settings > Options > Forum Name/URL/etc > Forum URL? Do you have www.yoursite.com or just yoursite.com? Make sure you access your admincp using that same URL (with or without the www).
      i have http://www.kattegale.dk/forum

      what do i have to make sure ? im not quite sure i know what to align ?

      Comment


      • #5
        i dont understand what you mean

        here are my settings - what is wrong with them ?

        ]

        Comment


        • #6
          I have the same problem, it shows an error box and when i close the error box the black sinning box just keeps on spinning.
          I have 2 forums set up the same in the Admin CP and one works fine and the other doesn't

          Comment


          • #7
            Originally posted by Miss T View Post
            i dont understand what you mean

            here are my settings - what is wrong with them ?
            Nothing's wrong with your settings but sometimes if you don't use the exact same URL to access the AdminCP as you have entered in the Forum URLvalue, the AJAX calls won't work. You have this as your Forum URL:

            http://www.kattegale.dk/forum

            So when accessing AdminCP, always use that version, not:

            http://kattegale.dk/forum

            (Note the www/non-www difference)>
            Vote for:

            - *Admin Settable Paid Subscription Reminder Timeframe*
            -
            *PM - Add ability to reply to originator only*
            - Add Admin ability to auto-subscribe users to specific channel(s)
            - Highlight the correct navigation tab when you are on a custom page
            - "Quick Route" Interface...
            - Allow to use custom icons for individual forums

            Comment


            • #8
              but i do that by defŠult and still no luck with the widgets...

              i still get a black screen for a moment and then nothing..

              i have been able to before...

              what is wrong ?

              Comment


              • #9
                please advise:

                i always access adminCP WITH www - never without...

                what else can i do?

                what table in the DB houses the content of the widgets - so i can change them manually if all else fails... i HAVE to be able to change them by 29 of this month

                Comment


                • #10
                  I'd suggest putting in a support ticket and have us take a look.

                  Please don't PM or VM me for support - I only help out in the threads.
                  vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                  Want help modifying your vbulletin forum? Head on over to vbulletin.org
                  If I post CSS and you don't know where it goes, throw it into the additional.css template.

                  W3Schools <- awesome site for html/css help

                  Comment


                  • #11
                    well i did - but you guys just closed it as a duplicate

                    olky problem is - the specified solution doesnt work with my problem...

                    even though i delete the CMS url - it STILL doesn work

                    Comment


                    • #12
                      Originally posted by Miss T View Post
                      well i did - but you guys just closed it as a duplicate
                      The last support ticket you put in was in May. I do not see any support ticket that you put in about this issue.

                      Please don't PM or VM me for support - I only help out in the threads.
                      vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                      Want help modifying your vbulletin forum? Head on over to vbulletin.org
                      If I post CSS and you don't know where it goes, throw it into the additional.css template.

                      W3Schools <- awesome site for html/css help

                      Comment


                      • #13
                        Originally posted by Lynne View Post
                        The last support ticket you put in was in May. I do not see any support ticket that you put in about this issue.
                        its right here

                        http://tracker.vbulletin.com/browse/...s:all-tabpanel

                        Comment


                        • #14
                          Originally posted by Miss T View Post
                          That is a bug report, not a support ticket.

                          According to the duplicate issue you're links to, it can be an issue with CMS entry page. What do you have entered under Settings -> Options -> Content Management -> Default Page?
                          Translations provided by Google.

                          Wayne Luke
                          The Rabid Badger - a vBulletin Cloud customization and demonstration site.
                          vBulletin 5 Documentation - Updated every Friday. Report issues here.
                          vBulletin 5 API - Full / Mobile
                          I am not currently available for vB Messenger Chats.

                          Comment


                          • #15
                            Originally posted by Wayne Luke View Post
                            That is a bug report, not a support ticket.

                            According to the duplicate issue you're links to, it can be an issue with CMS entry page. What do you have entered under Settings -> Options -> Content Management -> Default Page?

                            it says 1-Index i dont remember ever changing that one..

                            ill try the support ticket then... see if i can get it riight this time

                            Comment

                            Related Topics

                            Collapse

                            Working...
                            X