Hello, I am using SMF 1.1.8 and TP 1.0 Beta 3, as well as the default theme.
I just recently started having problems with my TP Admin Panel. So far, it is just the activate/deactivate block indicatator not working.
It is my understanding that this now uses AJAX? Is there anything that could interfere with this?
The MODs I am using:
1. phpBB3_Login_Fix 1.0 [ Uninstall ]
2. TinyPortal 1.075 [ Uninstall ]
3. Member Awards 1.0.2 [ Uninstall ]
4. SMF Staff Page 1.6 [ Uninstall ]
5. Ad Managment 2.3 [ Uninstall ]
6. EmailFlash 2.0 [ Uninstall ]
7. VisualWarning 1.42 [ Uninstall ]
8. Stars And Badges 2.1 [ Uninstall ]
9. Custom Profile Field Mod 3.20 [ Uninstall ]
10. Apache Error Handler 1.1 [ Uninstall ]
11. Let Me Google That For You Tag 1.1 [ Uninstall ]
12. Snap Shots Mod 1.0 [ Uninstall ]
13. eFloating Bar for Guest & Members 0.1 [ Uninstall ]
14. Custom Action Mod 2.04 [ Uninstall ]
15. BoardHover Mod 1.3.1 [ Uninstall ]
16. BK-SMF Sub-Board 1.5 [ Uninstall ]
17. Ultimate Profile 0.9 [ Uninstall ]
18. Temporary fix 0.5 [ Uninstall ]
19. Override SEF Checks 1.0 [ Uninstall ]
20. Advance SEF Urls 1.0 [ Uninstall ]
21. BBC [you] 1.2 [ Uninstall ]
22. Separate Sticky and Normal Topic 1.0 [ Uninstall ]
23. The Casino 2.1 [ Uninstall ]
24. Top Stats 1.1 [ Uninstall ]
25. MembergroupRanks1.0.1 1.0.1 [ Uninstall ]
26. AjaxChat Integration 2.3 [ Uninstall ]
27. Custom Copyright 1.1 [ Uninstall ]
28. Stop Spammer 2.2 [ Uninstall ]
29. April_Fools 2009 [ Uninstall ]
Any help is greatly appreciated ;D
Yes, just about any mod could interfere with this if the code is not altered properly, or it has some javascript that can conflict. I need a link to your site. Dont' forget to search too, as this subject has been posted about a few times.
Yes, I have searched for it and tried all the solutions given and nothing works.
My site is http://www.elitekillersclan.com
Does it work in the default Core theme ?
Remove this code from the index.template.php file of your theme:
<script type="text/javascript">
window.onload=function(){
var formref=document.getElementById("switchform")
indicateSelected(formref.choice)
}
</script>
Quote from: IchBinâ„¢ on March 25, 2009, 06:28:44 PM
Remove this code from the index.template.php file of your theme:
<script type="text/javascript">
window.onload=function(){
var formref=document.getElementById("switchform")
indicateSelected(formref.choice)
}
</script>
That script doesn't exist in my index.template.php
Should I just re-install TP?
Yes it does, I pulled that code from looking at your page.
OK. Found it and removed it. Still no go. I also cleared my temp files and browser cache and still doesn't work.
Anybody? Should I just re-install TP? Need some help as I can't do ANYTHING with my frontpage until this is resolved...
Uninstall the Mods that you have installed after TinyPortal, one at a time, until you figure out which one is the culprit. If that doesn't do it then yes, you will have to do a manual uninstall of TP and then a manual install.
ZarPrime
Sorry if this is something really obvious, but I thought I'd throw it in the mix just in case.
Are you sure that the block in question already has been set to show somewhere? If it hasn't, the activate won't work.
Saw that this topic is marked SOLVED, but is it ?
OK, for some reason it's not working again. Instead of starting a new topic, I'll just add to this one. It does not work for any block at all.
I'll give any info needed.
What have you done? Anything changed or added to your forum? Theme change?
Changed theme back to Default. Haven't changed or added any mods either. Just completely random.
JBlaze,
Are you getting any errors in your error log that might tell us what's going on? If so, post them here.
ZarPrime
No, no errors.
When you say it doesn't work, do you mean that the red/green images changes back after a page refresh? Or that the Block doesn't show, but the image shows green? Can you be more specific about what your problem please?
The problem is that all my blocks can no longer be activated/deactivated. I click and nothing happens. I'm trying to activate some and deactivate others and can't.
Is there another way to activate/deactivate other than the red/green icons?
JBlaze,
The change from green to red, and vice versa, is done via AJAX. A lot of people don't understand how it works, but the primary thing to remember is that anything that uses AJAX uses javascript. AJAX, which stands for Asynchronous Javascript and XML, makes use of Javascript to make changes on the same page instead of creating different pages to effect the changes. For more information on how AJAX actually works, this video (http://www.youtube.com/watch?v=tJXLRLDWjn4) explains it quite well.
The problem comes in when some other Javascript on the page is interfering with the ability of the AJAX to function properly. This is quite possibly why yours has quit working. What has probably happened is that you have added a block, or a Mod, that stops the AJAX from working.
If it is just a block that is causing the problem, and you have blocks set to show in the Admin section, you might turn this off so that the blocks don't show in Admin and see if that fixed the problem. If it doesn't, then it is likely another Mod that is causing the problem and you will have to uninstall them, one at a time, starting with the last one you added.
Try these things, and let us know if it fixes the ability to to activate and deactivate the blocks.
ZarPrime
I just want to chime in here. I have a clean install of Blue Skies (done this morning) and just downloaded the latest version of TP and I am a first time user of it.
The first thing I did right out of the install was delete the right side blocks and try to re-recreat them on the left side, similar to what this forum does. It was at this time that I noticed the same thing the O/P talks about.
I have no other modules added, nor did I ever.
Not only does the activate light not work, the cursor does nothing on mouse-over. A right click on the green or red button does not reveal any link available. All other functions, like move up, move down, edit and delete will change to the little finger, the activate/deactivate lights only activate the pop up text with the description of what it is.
I am able to "add" blocks and edit the blocks I have not deleted, but I can not "activate" or "deactivate" any of them.
Moreover, I have uninstalled and re-installed TP and the settings have not changed. I feel like I want to have a "reset" option for the blocks. THe only one I have left now is the Search block. Nothing else can be replaced.
A couple of things.
Please read the Posting Guidelines (http://www.tinyportal.net/index.php/topic,581)
You need to start your own topic for your own issues and reference any topic you think is similar to yours if you feel necessary. Also, if you search (especially in the board for this theme), you will see that this has been addressed and that there is a temp fix for you. Also, remember when you have problems you should always check the default theme and make sure it works there.
Thank you all for your help. I resolved this problem by installing another theme.