4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: punchy on September 17, 2010, 12:43:35 AM

Title: Trying to install Disqus?
Post by: punchy on September 17, 2010, 12:43:35 AM
Hi.
I recently set up my 4images gallery. I am trying to install disqus onto the system for comments.
How do I find the permalinks?

Disqus is telling me the final task is:
Append #disqus_thread to the end of permalinks. The comment count code will replace the text of these links with the comment count.
For example, you may have a link with this HTML:
<a href="xxx: examplexxx: /my_article. html#disqus_thread">Comments</a>
The comment count code will replace the text "Comments" with the number of comments on the page xxx: examplexxx: /my_article. html

How would I find the permalink to attach the #disqus_thread onto?
Title: Re: Trying to install Disqus?
Post by: V@no on September 17, 2010, 01:39:49 AM
Hello and welcome to 4images forum.

[Mod] Display image codes on details page (image permalink) (http://www.4homepages.de/forum/index.php?topic=17912.0)
Title: Re: Trying to install Disqus?
Post by: punchy on September 17, 2010, 04:22:06 AM
Thanks for the welcome, and the link.
Only problem is, I can't find the details.php file?
Title: Re: Trying to install Disqus?
Post by: Rembrandt on September 17, 2010, 04:27:04 AM
Thanks for the welcome, and the link.
Only problem is, I can't find the details.php file?
in the root directory of the gallery
Title: Re: Trying to install Disqus?
Post by: punchy on September 17, 2010, 04:33:28 AM
Thanks, Remembrandt.
Figured out how to get to details.php...
but, I am sorry, I don't know anything about php coding, such as in the details file.
Where would I put the #disqus_thread tag if it says to put on an html version of : <a href="xxx: examplexxx: /my_article. html#disqus_thread">Comments</a>

What would be the equivalent in the php code I have recently put in?

Thanks