image and blog post count? - Ajax base
image and blog post count?
I got 2 mods installed, User Blog Mod 1.0.13 and phpbb gallery 1 0 5 and I'm wondering how I can make the counters update like it does for the post and topics
Thanks
-
- Registered User
- Posts: 1369
- Joined: Wed Nov 04, 2009 5:51 am
- Location: In a server room in Australia
- Name: Daniel
- Contact:
Re: image and blog post count?
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
-
- Former Team Member
- Posts: 2300
- Joined: Thu Apr 30, 2009 8:49 pm
- Name: Jakub
- Contact:
Re: image and blog post count?
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
-
- Former Team Member
- Posts: 2300
- Joined: Thu Apr 30, 2009 8:49 pm
- Name: Jakub
- Contact:
Re: image and blog post count?
-
- Registered User
- Posts: 1369
- Joined: Wed Nov 04, 2009 5:51 am
- Location: In a server room in Australia
- Name: Daniel
- Contact:
Re: image and blog post count?
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
-
- Former Team Member
- Posts: 2300
- Joined: Thu Apr 30, 2009 8:49 pm
- Name: Jakub
- Contact:
Re: image and blog post count?
Open: root/ajax_base.php
Find:
Code: Select all
$l_total_topic_s = ($config['num_topics'] == 0) ? 'TOTAL_TOPICS_ZERO' : 'TOTAL_TOPICS_OTHER';
Code: Select all
if (class_exists('phpbb_gallery_integration'))
{
phpbb_gallery_integration::index_total_images();
}
//Prosilver
Open: styles/prosilver/template/ajax_base/statistics.html
Find:
Code: Select all
{TOTAL_TOPICS} •
Code: Select all
<!-- IF TOTAL_IMAGES -->{TOTAL_IMAGES} •<!-- ENDIF -->
Code: Select all
{TOTAL_USERS} •
Code: Select all
{TOTAL_BLOG_ENTRIES} •
//Subsilver2
Open: styles/subsilver2/template/ajax_base/statistics.html
There is a file here in another post about subsilver2 edits or you can create your own.
Select all text in the file and replace with:
Code: Select all
<p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | <!-- IF TOTAL_IMAGES -->{TOTAL_IMAGES} |<!-- ENDIF --> {TOTAL_USERS} | {TOTAL_BLOG_ENTRIES} | {NEWEST_USER}</p>
Disclaimer: I decided to share my edits and fixes for "wiki" type purposes and for those out there like me who are on older versions of phpbb3 still. Also for those who still have or wanted this mod to be compatible with these other mods, this is for you.
[td class=statement]I ♥ Notepad++ ![/td]
<!-- ENDNEVER --> <!-- tee hee -->
Whoa ooo whoa ooo whoa I'm a Lady!
- PiperB
- Registered User
- Posts: 173
- Joined: Mon Nov 07, 2016 6:54 pm
- Contact: