SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Badge Awards
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
Buy Website Traffic
Site Showcase
Email Marketing Software
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
May 21, 2013, 09:50:47 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10763
Latest:
sora
Stats
Total Posts: 32360
Total Topics: 5476
Online Today: 55
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 56
Total: 57
heatersajid
SMFHacks.com
Forum
Downloads System Pro
Support
No Lightbox function
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: No Lightbox function (Read 3259 times)
Darkshadow
Inline PM Customer
Offline
Posts: 38
No Lightbox function
«
on:
July 26, 2009, 04:03:40 am »
If you click on the thumbnail picture of a download, a new site will be loaded with the fullsize image and the description, now:
1. the description will not be shown anymore
2. if you click on the image, a new white site with only the fullsize image in the top left corner will be shown
example 1:
http://www.dark-mysterious-worlds.com/Deutsch/German_Forum/index.php?action=downloads;sa=view;id=22
As you can see... Description is shown, now click on the thumbnail
example 2:
http://www.dark-mysterious-worlds.com/Deutsch/German_Forum/index.php?action=downloads;sa=viewpic&id=16
As you can see... Description is gone, now click on the thumbnail
result: ugly page will appear, my suggestion: use lightbox function
Sorry for posting in wron board, this should be in bugs
Darkshadow
«
Last Edit: July 26, 2009, 04:13:02 am by Darkshadow
»
Logged
Dark Mysterious Worlds
Look here...
We develope an brand new fantasy roleplay tradingcardgame in english and german
Samples
Look here...
treasurenet
Inline PM Customer
Offline
Posts: 42
Re: No Lightbox function
«
Reply #1 on:
July 26, 2009, 04:05:23 am »
http://www.smfhacks.com/index.php/topic,3782.msg17779/topicseen.html#new
Logged
Using SMF 1.1.10, Gallery Pro 2.5
Darkshadow
Inline PM Customer
Offline
Posts: 38
Re: No Lightbox function
«
Reply #2 on:
July 26, 2009, 04:10:12 am »
Thank for fast reply, but
i have not this probs in the gallery, this issue is in the downloads pro mod...
Darkshadow
Logged
Dark Mysterious Worlds
Look here...
We develope an brand new fantasy roleplay tradingcardgame in english and german
Samples
Look here...
treasurenet
Inline PM Customer
Offline
Posts: 42
Re: No Lightbox function
«
Reply #3 on:
July 26, 2009, 04:19:42 am »
Quote from: Darkshadow on July 26, 2009, 04:10:12 am
Thank for fast reply, but
i have not this probs in the gallery, this issue is in the downloads pro mod...
Darkshadow
Ah, I thought the problem would be the same... I see you have the right location for your slimbox.js....
http://www.dark-mysterious-worlds.com/Deutsch/German_Forum/Themes/default/slimbox.js
are there other .js files other than slimbox.js?
...if not, then I have no idea. (sorry to give you bad advice)
It s acting just like mine did until I fixed the URL
Logged
Using SMF 1.1.10, Gallery Pro 2.5
treasurenet
Inline PM Customer
Offline
Posts: 42
Re: No Lightbox function
«
Reply #4 on:
July 26, 2009, 04:22:49 am »
I did notice one thing funky in your code.
View the source... The DOCTYPE should be on the VERY top line, and this code....
Code:
<script language=JavaScript>
<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script><
SHOULD be within the <head> tags....
Running some utilities on your code, I found 93 errors and 6 warnings... but that would be a good start... as shown above.
«
Last Edit: July 26, 2009, 04:32:58 am by treasurenet
»
Logged
Using SMF 1.1.10, Gallery Pro 2.5
treasurenet
Inline PM Customer
Offline
Posts: 42
Re: No Lightbox function
«
Reply #5 on:
July 26, 2009, 04:25:15 am »
Here's another link to help.....
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.dark-mysterious-worlds.com%2FDeutsch%2FGerman_Forum%2Findex.php%3Faction%3Ddownloads%3Bsa%3Dviewpic%26id%3D16&charset=%28detect+automatically%29&doctype=Inline&group=0
«
Last Edit: July 26, 2009, 04:32:16 am by treasurenet
»
Logged
Using SMF 1.1.10, Gallery Pro 2.5
Darkshadow
Inline PM Customer
Offline
Posts: 38
Re: No Lightbox function
«
Reply #6 on:
July 26, 2009, 06:09:42 am »
hmmm...
the doctype is inserted, look at my index.template attached...
The errors come from the huge mods i implemented, (i will try to fix these errors in the feature to be validated, but first all functions have to be implemented, there are coming so much updates and new functions so i have no time to implement them all in the proper way it should be...) but it seems to me thaht is not the problem for the behavior of the download pro system.After a quick look, I dont find any code in the download system for use of lightbox...
By the way, if you found some strange error in the index template, please let my know, so i can fix it...
Thanks for your effort...
The right click mod works without errors for me..
. i looked to the original install script of the right click mod and i noticed the programmer of this mod will not insert his javascript in the header area...
Darkshadow
«
Last Edit: July 26, 2009, 06:22:36 am by Darkshadow
»
Logged
Dark Mysterious Worlds
Look here...
We develope an brand new fantasy roleplay tradingcardgame in english and german
Samples
Look here...
treasurenet
Inline PM Customer
Offline
Posts: 42
Re: No Lightbox function
«
Reply #7 on:
July 26, 2009, 07:29:23 am »
I don't know what's wrong with your file, but opening it, I received an error - "this file is damaged, proceed with caution".
Like I said though- that right click function needs to be within the head tag, and the doctype tag NEEDS to be at the very top.
I am sorry I can not look at your index.template.php file, but I've never seen that error before... anyone else want to look at it?
I don't know how you are inserting that right click script - but looking at your final source (NOT the index.template.php file) you have.....
Code:
<script language=JavaScript>
<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
It needs to be.....
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<script language=JavaScript>
<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
«
Last Edit: July 26, 2009, 08:07:30 am by treasurenet
»
Logged
Using SMF 1.1.10, Gallery Pro 2.5
Darkshadow
Inline PM Customer
Offline
Posts: 38
Re: No Lightbox function
«
Reply #8 on:
July 26, 2009, 08:58:15 am »
ok, i fixed this issue, the javascripts for the right click mod now apear inside the header and nothing else is injected before doctype...
But the download pro issue is not fixed with this...
Darkshadow
Logged
Dark Mysterious Worlds
Look here...
We develope an brand new fantasy roleplay tradingcardgame in english and german
Samples
Look here...
SMFHacks
Administrator
Hero Member
Offline
Posts: 10991
Re: No Lightbox function
«
Reply #9 on:
July 26, 2009, 09:05:55 am »
Will add highslide to that page.
Logged
Darkshadow
Inline PM Customer
Offline
Posts: 38
Re: No Lightbox function
«
Reply #10 on:
July 26, 2009, 09:12:11 am »
@Hacks:Thanks
Can you also confirm the not shown description in this screen ?
@treasurenet:Thanks
Darkshadow
Logged
Dark Mysterious Worlds
Look here...
We develope an brand new fantasy roleplay tradingcardgame in english and german
Samples
Look here...
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Menu Editor Pro
-----------------------------
=> Presales Menu Editor Pro
=> Bug Reports
-----------------------------
Inline Personal Messages
-----------------------------
=> Presales
=> Support
=> Bug Reports
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Badge Awards
-----------------------------
=> Presales
=> Support
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
[Request] - Award for any...
by
SMFHacks
[
Today
at 12:22:02 am]
Changing the font
by
SMFHacks
[
Today
at 12:20:41 am]
SMF vs PhpBB
by
gibranabahel
[May 19, 2013, 11:13:02 pm]
Upgrade SMF Gallery Pro
by
DTroup
[May 19, 2013, 08:18:27 pm]
sa facebook integration c...
by
murdocklawless
[May 19, 2013, 07:03:27 am]
Feature Requests for SMF ...
by
Secure
[May 16, 2013, 10:13:46 pm]
stuck on "Processing" scr...
by
SMFHacks
[May 15, 2013, 11:32:14 pm]
SMF Gallery Pro 5.0.1 not...
by
SMFHacks
[May 12, 2013, 09:10:43 am]
Golf Theme
by
Serglike
[May 10, 2013, 03:49:55 am]
Display ads on every page...
by
SMFHacks
[May 07, 2013, 07:12:40 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...