Removing RSS in latest version

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
monsterface
Posts: 42
Joined: Mon Nov 24, 2014 10:50 am

Removing RSS in latest version

Post by monsterface »

Hello everyone,

my problem is quite simple.. I tried to remove the rss-feeds (buttons) and already searched and tried other solutions. But not 1 solution rly helped me with my problem.
I got the latest version of phpmyfaq and would like to remove the RSS-Feeds, so can anyone help me?
Already tried to comment "Category.php line 664-671".

Another question would be... is it allowed to remove the "phpmyfaq documentation" and "follow us on twitter" in the admin-section? If yes, could someone show me how this would be possible, otherwhise I would just leave it like that.

I hope that someone can help me and appreciate any suggestions!!

Sincerely,


Edit: I also got a problem with the "pdf export", always when i try to use it i get the error message : "TCPDF ERROR: Could not include font definition file: helvetica", I tried to change the font to arial and still get the same message but this time with "arial" not "helvetica".

Any help will be appreciated! Thank you very much in advance!

Edit 2.0: I already solved the issue with the error message on the export pdf. It seems like arial wasnt supported in export pdf, so i just changed helvetica into times (Times new Roman) instead of arial!. The first 2 questions above are still open, so pls answer them if u got the time to!

Edit 3.0: After testing the pdf-data I got the error message, that it cant be red and then I get the error-message (135). Also it looks totally diferrent from the version I get to see on the homepage, could someone give me any valuable tips ?
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Removing RSS in latest version

Post by Thorsten »

Hi,

do you want to remove all RSS feeds?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
monsterface
Posts: 42
Joined: Mon Nov 24, 2014 10:50 am

Re: Removing RSS in latest version

Post by monsterface »

Yes, I would like to remove all RSS-Feeds if possible, because I rly dislike that orange and dont use it also.

Also as I asked, if it''s allowed, I would like to remove the "fllow us on twitter" and "phpmyfaq documentation" in the admin-section. If u dont want me to remove it, i wont touch it.

So I removed the RSS's by myself. I didnt have the time to wait but still need the help to the other questions! so pls answer them, if u could!
the other questions were, if I could remove the "follow us on twitter" and "phpmyfaq documentation" in the admin-section. If I have the permission, could u also tell me how I could remove it?

_______________________________________________________________
To Remove the RSS-Feeds from the mainpage, and from the open question:
Go to:


phpmyfaq\assets\template\default\main.tpl
Comment the red marked code to remove the News-RSS:

<!-- Instant Response -->
<div id="instantresponse">

</div>

<!-- News -->
<section>
<header>
<h2>{writeNewsHeader} <!--{writeNewsRSS}--></h2>
</header>
<article>
{writeNews}
</article>
<p>{showAllNews}</p>
<p class="text-center">{writeNumberOfArticles}</p>
</section>
_______________________________________________________________
to remove the RSS in Open Questions:
phpmyfaq\assets\template\default\open.tpl
Comment the red marked Code to remove the Open Questions-RSS:

<section>
<header>
<h2>
{msgOpenQuestions}
<a href="feed/openquestions/rss.php" target="_blank">
<!-- <img src="assets/img/feed.png" width="16" height="16" alt="RSS" /> -->
</a>
</h2>
</header>

<p>{msgQuestionText}</p>

<table class="table table-striped">
<tr>
<th>{msgDate_User}</th>
<th colspan="2">{msgQuestion2}</th>
</tr>
{printOpenQuestions}
</table>

</section>
_______________________________________________________________
phpmyfaq\assets\template\default\index.tpl
Commet the red marked code!:
line 34-38

<!-- <link rel="alternate" title="News RSS Feed" type="application/rss+xml" href="{baseHref}feed/news/rss.php">
<link rel="alternate" title="TopTen RSS Feed" type="application/rss+xml" href="{baseHref}feed/topten/rss.php">
<link rel="alternate" title="Latest FAQ Records RSS Feed" type="application/rss+xml" href="{baseHref}feed/latest/rss.php">
<link rel="alternate" title="Open Questions RSS Feed" type="application/rss+xml" href="{baseHref}feed/openquestions/rss.php">
<link rel="search" type="application/opensearchdescription+xml" title="{metaTitle}" href="{opensearch}"> -->

_______________________________________________________________
phpmyfaq\assets\template\default\startpage.tpl
Comment the red marked Code, to remove the latest-FAQs:
<!--<a href="feed/latest/rss.php" target="_blank"><img src="assets/img/feed.png" width="16" height="16" alt="RSS" /></a>-->
monsterface
Posts: 42
Joined: Mon Nov 24, 2014 10:50 am

Re: Removing RSS in latest version

Post by monsterface »

Soo, my question is still onhold :

" Am I allowed to remove the "follow us on iwitter" and " phpmyfaq documentation" links in the admin-section?" If yes... Could u give me any hint, in which script I could find it? If it isn't allowed, just say so and I won't remove it and let it like that.

Sincerly,
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Removing RSS in latest version

Post by Thorsten »

Hi,

sure, it's in admin/footer.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
monsterface
Posts: 42
Joined: Mon Nov 24, 2014 10:50 am

Re: Removing RSS in latest version

Post by monsterface »

Again, thank u very much!

I changed everything like I wanted and left the copyright-stuff there. So I guess there should be no problem, and thank u for ur help!
Since im already 19 years old, Im trying to understand as much as possible from ur code, since I just had myself to learn to be a programmer!

Well since that isnt important, I thank u again for ur help!

Sincerly,
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Removing RSS in latest version

Post by Thorsten »

Hi,

great to hear and keep up learning to code :)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
tonyd
Posts: 26
Joined: Tue Sep 22, 2015 9:41 pm

Re: Removing RSS in latest version

Post by tonyd »

I succesfully removed the RSS but how can i remove it from the articles? currently its still showing the RSS feed button behind every question / article
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Removing RSS in latest version

Post by Thorsten »

Hi,

it's around line 666 in inc/PMF/Category.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply