Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 20:29

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 28. Aug 2006, 11:42 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
ok, time for one of those questions again :?


in howto 7 is described how to add text to a specific folder. It states: "The text can be any valid HTML". It can not ? I wouild like this (valid!) html code to show in folder1:

Code:
<script src="http://www.statsmachine.com/cgi-bin/counter/x deleted x"></script>
Thank you for being visitor:
<script type="text/javascript"><!--
mycount = mycount + 1;
document.write(mycount);
// --></script>


this way I can show people how many people looked at any specific album.

But: no go. Not even when I put it in header/overview/footer.html. I could change files directly, but the trick is I would like statsmachine to keep track of how many people look at every album, so I can see which albums are more popular than others.


--
I also noted that a folder.txt like this does not work:

Code:
hallo, this is a line

and here is another one

and even a third one


TWG must have it like so:

Code:
hallo, this is a line<BR>and here is another one<BR>and even a third one


keeping this in mind

Code:
<script src="http://www.statsmachine.com/cgi-bin/counter/x deleted x"></script>Thank you for being visitor:<script type="text/javascript"><!--mycount = mycount + 1;document.write(mycount);// --></script>


does not work either.

hints, sollutions and suggestions are very welcome !


Top
 Profile  
 
 Post subject:
PostPosted: 28. Aug 2006, 16:09 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
I finally figured it out:

folder.txt:

Code:
<font size=4>alternate header</FONT><BR><BR>more and more and even<BR>more text !<BR><BR><script src="http://www.statsmachine.com/cgi-bin/counter/x deleted x"></script>Thank you for being visitor:<script type="text/javascript">mycount = mycount + 1;document.write(mycount);</script>


I am not a coder, but it works ! Unfortunately there seems to be a limit to the number of characters ? Is there a specific reason ?


Top
 Profile  
 
 Post subject:
PostPosted: 2. Sep 2006, 18:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

it has to be in one line - thats the restriction.
and I have a limit of 1000 characters!

if you need more you have to increase this number (line 297 in filefunctions.inc.php)

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 90 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy