Donations

Help support Pro_News and become a member of our Sponsors Group
The tip jar is at PayPal, but does not require a PayPal account
User Info
مرحبا مجهول
عضوية:
الأخير: Witewolf
جديد اليوم: 0
جديد بالأمس: 0
الكل: 151
المتصفحون الآن:
الأعضاء: 0
الزوار: 40
Bots: 3
المجموع: 43
من و أي:
الزوار:Pro News Articles
Pro News Articles
Pro News Articles
Pro News Articles
Support Forums
My Account
Nedlastninger
Pro News Articles
Support Forums
Pro News Articles
Pro News Articles
Pro News Articles
Pro News Articles
Pro News Articles
Support Forums
Downloads
Pro News Articles
Nedlastninger
Pro News Articles
Support Forums
Pro News Articles
Pro News Articles
Downloads
Pro News Articles
Support Forums
Downloads
Support Forums
Pro News Articles
Support Forums
Support Forums
Support Forums
Support Forums
Support Forums
Pro News Articles
Support Forums
Pro News Articles
Mitt konto
Downloads
My Account
Support Forums
Bots:Google > Support Forums
Baidu > Support Forums
YANDEX > Support Forums
فريق العمل متص:
لا أحد من فريق العمل متص
Pro_News 3.2 Now Available!
Pro_News 3.2 Now Available!
ارسل: الاربعاء اكتوبر 14, 2009 2:12 pm
Click to follow Link to Original Article.
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback- Site Admin

- نشرات: 1229
- شاركت: مارس 18, 2006
Re: Pro_News 3.2 Now Available!
ارسل: الاثنين اكتوبر 19, 2009 8:19 pm
Hi Layingback.
I would like to thank you for an awesome module. I've been watching the Pro_news developing over the last year or more and this latest version pretty much covers all the features that I need.
A couple of things which you might be able to help me with.
When importing the existing articles, is it possible to also copy across the number of "views"?
Also on the templates, how do I add the numbers of views to the Headline display? I think number of views is very important, and would like it to be displayed on all articles, or at least have the option to.
Also having a problem when editing a section, it seems to always revert the forum type back to standard forum rather than fpro. I have to manually edit the database to put it back.
Thanks,
Mike
MikeSSC please enter your server specs in your user profile!

MikeSSC- Newbie

- نشرات: 1
- شاركت: اكتوبر 17, 2009
- المكان: Northants, UK
Re: Pro_News 3.2 Now Available!
ارسل: الثلاثاء اكتوبر 20, 2009 8:17 pm
- MikeSSCWhen importing the existing articles, is it possible to also copy across the number of "views"?
The import module is trivially simple,. I think you can probably figure it out
Haven't tested this, but here's a possibly correct solution. In modules/Pro_News/admin/import.inc change line 43 to:
$sql2 = 'INSERT INTO '.$prefix.'_pronews_articles VALUES(NULL, "1", "'.Fix_Quotes($row['title'],0,0).'", "'.Fix_Quotes($row['hometext'],0,0).'", "'.Fix_Quotes($row['bodytext'],0,0).'", NULL, NULL,"1", "'.$row['informant'].'", "0", "'.$row['time'].'", "0", "1", "1", "0", NULL, "0", "'.$row['alanguage'].'", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "'.$row['score'].'", "'.$row['ratings'].'", "'.$row['topic'].'", "", "", "1")';
Let me know what finally works if you would, and I'll include it in the release. (I've never used import myself
)
- MikeSSCAlso on the templates, how do I add the numbers of views to the Headline display? I think number of views is very important, and would like it to be displayed on all articles, or at least have the option to.
It is displayed on the actual article, just not in the headlines, nor is it displayed in the Intro part of the article. If you want to add, you could certainly easily add to the template by just copying the code from the article part. But currently the necessary field is not passed over to the template system.
- MikeSSCAlso having a problem when editing a section, it seems to always revert the forum type back to standard forum rather than fpro. I have to manually edit the database to put it back.
What are your settings relating to ForumsPro, please? Esp. in Config.
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback- Site Admin

- نشرات: 1229
- شاركت: مارس 18, 2006
Re: Pro_News 3.2 Now Available!
ارسل: الجمعة اكتوبر 30, 2009 11:30 am
Thank you for you hard work.
fishingfan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux,Apache2.2,mysql5,php5,dragonfly 9.2

fishingfan- Developer

- نشرات: 78
- شاركت: اكتوبر 08, 2008
Re: Pro_News 3.2 Now Available!
ارسل: الجمعة اكتوبر 30, 2009 11:37 am
Appreciated - as was your help during 3.2 and 3.1 releases.
If I can get my Ubuntu 9.10 upgrade stable soon, I'll have 3.2.1 ready for Sponsors!!!
FSC template, couple of minor fixes to code and templates, admin > pro_news menu links directly into Coppermine for create album, batch upload, batch add. Oh, and my Batch Upload hack for Coppermine (saves using ftp).
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback- Site Admin

- نشرات: 1229
- شاركت: مارس 18, 2006
Re: Pro_News 3.2 Now Available!
ارسل: السبت نوفمبر 07, 2009 5:43 pm
@MikeSCC, re your earlier question on showing number of reads.
Using the new Pro_News 3.2.1 just add:
({newshome.T_READS} {newshome.S_READS})
before the closing div for the postby statement in the Home section of your template, and/or paste the following
({newshdline.T_READS} {newshdline.S_READS})
before the closing div for the postby statement in the Hdline section of your template[php]
Hope this helps!
I'm also still waiting on feedback on your other 2 questions.
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback- Site Admin

- نشرات: 1229
- شاركت: مارس 18, 2006
لاتستطيع الرد على المواضيع في هذا المنتدى
لا تستطيع تعديل مواضيعك في هذا المنتدى
لاتستطيع الغاء مواضيعك في هذا المنتدى
لاتستطيع التصويت في هذا المنتدى
You cannot attach files in this forum
You cannot download files in this forum
جميع الاوقات تستعمل نظام GMT











