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 23. Nov 2024, 16:49

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  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Google Analytics
PostPosted: 27. Oct 2008, 00:25 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
Hi, I saw a post from a guy asking you were to paste the google analytics script, you tell him in header.htm, footer.htm or menu.htm, I do it and google says there is no code, so my question is were to paste it to show up??

Im not a registered member like that guy maybe thats the point!!

It would be a nice idea in the next release of TWG make an special php file to put google analytics code (ga.js or urchin.js analytics scripts)

Any way thanks a have a nice day!!!


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 14:04 
Offline
Site Admin
User avatar

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

this is no point of registration. If you put the code in the files I wrote and the stuff is included properly. (with <script></script>) tags then this should work without problems.

Why should I introduce a new file if there are 5 different places where this works without any problems.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 19:50 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
Hi I try in all those files and google still saing the same code not found!

Is ok for you if I send you header and footer files (you choice one) and the google analytics script and you put it in the right place??

Tks a lot!!!


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 20:07 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I checked the source of your site and there

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>

is in there. Therefore it's included.
You might want to include it directly and not again written by Javascript.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 20:15 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
Ok, I will left it in there and see what says the google report, tks a lot!!!


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 20:24 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
What you can do:

Increase
precache_main_top_x_interval from 4 to 24.

Then the cache is only rebuild every 24 hours and not all 4 hours.

+
I would exchange the default folder image ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 20:32 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
mm I dont understand you sorry that changes are for google script??


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 20:35 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
No - this are only some tips to make your gallery nicer/faster ;).

+ you should check your images size. Check your logfile: counter/_mydebug.out

You have some images that are too big for your php memory.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 20:58 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
ohhh ok hehe tks for the tips I already change the top x interval, how you would change the default folder image??


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 21:36 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
it's in the buttons folder.

You can tell TWG to view to most viewed image of a folder but for many images this is quite time consuming. How many images are in the gallery right now?

btw. the "New" feature is quite time consuming as well - But I think you notices this when you changed this setting. It's cached - therefore only once a time interval calculated.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 22:02 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
I don tlike the most viewed images in that way but tks...

I want to integrate TWG with word press.

And people pay to download zip file from rapidshare or something, is possible to show in the post one gallery or the first 40 images???

For example a post of Carla named My Bedroom, in that post is possible to show just that gallery from TWG???

Tks again and sorry for alllll the questions hehe


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 22:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You can directly link to a subfolder by using the url of the browser.

For integration into wordpress you can use an iframe wrapper. There a a couple around ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 22:23 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
Ohh ok, I will do it hehe, if some one want to downoad all the gallery they will have to download one by one using TWG thats why i want to do it in that way, any ideas are welcome tks again!!!


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 22:28 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I don't know what you want to archive ...

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Oct 2008, 22:31 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
all the images of each gallery in zip formats in rapidshare


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 8 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