Help me find which file I've modified??

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
Jobertim
Registered User
Posts: 238
Joined: Wed Dec 28, 2011 2:25 pm

Help me find which file I've modified??

Post by Jobertim » Tue Sep 25, 2018 10:20 am

I recently modified my phpBB to be able to display Google ads in between posts. I know I used S_ROW_COUNT to test the current post number and only display ads after post #3 and post #11 on the page.

Problem is, I can no longer find my modifications. I would have thought I modified viewtopic_body.html in my current template, however I can't seem to find my modifications in that file.

Can anyone guess which file I had modified? Thanks!!

User avatar
AbaddonOrmuz
Registered User
Posts: 390
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: Help me find which file I've modified??

Post by AbaddonOrmuz » Tue Sep 25, 2018 10:37 am

Use a tool like diff to see changes between files, like WinMerge for Windows, I haven't used it though.
A proudly user of Arch Linux :: /r/sddm_themes

User avatar
Ger
Recognised Extension Developer
Posts: 1743
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: Help me find which file I've modified??

Post by Ger » Tue Sep 25, 2018 11:04 am

probably ./styles/yourstyle/template/viewtopic_body.html
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

Jobertim
Registered User
Posts: 238
Joined: Wed Dec 28, 2011 2:25 pm

Re: Help me find which file I've modified??

Post by Jobertim » Tue Sep 25, 2018 11:19 am

Ger wrote:
Tue Sep 25, 2018 11:04 am
probably ./styles/yourstyle/template/viewtopic_body.html
That's the one I would have thought to look at, but no. I also looked for viewtopic_body_post_after.html in /styles/yourstyle/template/event/ but couldn't find it there. :shock:

Jobertim
Registered User
Posts: 238
Joined: Wed Dec 28, 2011 2:25 pm

Re: Help me find which file I've modified??

Post by Jobertim » Tue Sep 25, 2018 12:05 pm

Found it! It was in the file viewtopic_body_postrow_post_after.html that is in an extension in the following path public_html/phpBB/ext/ashus/adsense/styles/all/template/event/viewtopic_body_postrow_post_after.html

Thank you!

User avatar
Mick
Support Team Member
Support Team Member
Posts: 20141
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Help me find which file I've modified??

Post by Mick » Tue Sep 25, 2018 1:13 pm

It's always wise to keep notes and copies of files being edited.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

User avatar
GanstaZ
Registered User
Posts: 542
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Help me find which file I've modified??

Post by GanstaZ » Tue Sep 25, 2018 1:34 pm

Or do it via extension/events.
"When answer lies in the question,.. question becomes redundant!"

User avatar
</Solidjeuh>
Registered User
Posts: 1021
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Help me find which file I've modified??

Post by </Solidjeuh> » Tue Sep 25, 2018 1:34 pm

I use my own little extension to add codes in html, css & language, So I know all edits are in there :D
https://github.com/Solidjeuh/BoardMagic
No I'm not spamming my ext, just wanted to help :D
We offer fun HTML5 games for young and old.
Register a free account & enjoy all functions!
Save your score, challenge other members or play along with our tournaments.


~~~ https://www.solidjeuh.be ~~~

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: VSE and 19 guests