Jump to the post that solved this thread.
Solved: 4 Years, 7 Months ago Latest Threads Code
#1
Solved: 4 Years, 7 Months ago
So I am working on a forums, and I am trying to run it so that it has a Latest Activity bar on the right, as you can see on the forums. The problem I have ran into is a little line of code that is referencing something from another template. I am currently using the iGame template and the original template is called -revolution. If anyone would help me out, that would be great!
Here is my forums:
http://bmsgaming.hosted.nfoservers.com/index.php
[Image: 3fa79201f014aa4eff8aed2703de46f3.gif]
Reply
#2
Solved: 4 Years, 7 Months ago
have a look at step 2 of this post
you have to use class portal_latestthreads for the tr element (like below)
<tr class="portal_latestthreads">
Reply
#3
Solved: 4 Years, 7 Months ago
I don't know if I am having troubles with where I am placing this, but it doesn't seem to work.
[Image: 3fa79201f014aa4eff8aed2703de46f3.gif]
Reply
#4
Solved: 4 Years, 7 Months ago
^ portal_latestthreads_thread template of iGame theme needs to be edited
and <tr> needs to be changed to <tr class="portal_latestthreads">

see also templates guidance
Reply
#5
Solved: 4 Years, 7 Months ago
I did that, but the latest threads are not showing up on the right
[Image: 3fa79201f014aa4eff8aed2703de46f3.gif]
Reply
#6
Solved: 4 Years, 7 Months ago
if you are using cloudflare services,
you have to purge its cache and turn on development mode and then do theme / template changes
Reply
#7
Solved: 4 Years, 7 Months ago
(2016-10-09, 03:19 AM)|| PikaKid || Wrote: I did that, but the latest threads are not showing up on the right

Not sure about your specific theme but primarily with any theme you do not necessarily have to use javascript or a plugin to achieve this.

I was going to post the instructions via this post but it kept blocking me via cloudflare for some silly reason.

So I wrote the instructions in a .txt file & added to a .zip file for you as an attachment.

.zip   latest_threads_on_index.zip (Size: 2.38 KB / Downloads: 121)

* if needed I threw the instructions completed into a default theme as well if needed.
Here ya go!

.zip   Latest_Threads.zip (Size: 193.3 KB / Downloads: 101)

Results of instructions:

[Image: 2s9ugpu.png]
[Image: 2vvuicn.png]
Reply
#8
Solved: 4 Years, 7 Months ago
Vintagedaddyo, I imported your theme into my forums and if you go to it, there is no latest Thread bar on the right

Anyway, I did it .m.'s way, and it worked finally, but I was wondering if there was any type of code that would put a border around it
[Image: 3fa79201f014aa4eff8aed2703de46f3.gif]
Reply
#9
Solved: 4 Years, 7 Months ago
(2016-10-09, 03:13 PM)|| PikaKid || Wrote: Vintagedaddyo, I imported your theme into my forums and if you go to it, there is no latest Thread bar on the right

Anyway, I did it .m.'s way, and it worked finally, but I was wondering if there was any type of code that would put a border around it

Ah, well first of all you have to overwrite with the included files and I forgot to place the lang file in the right spot when I first made the zip pkg but that wouldn't matter too much on actual display. Anywhoo, I just updated the zip to put the lang file in correct directory..., without overwriting index.php and global.lang.php of course it would not display for you.., because it is missing the required files that I included and mentioned in the Documentation as well as mentioned in the manual instructions.
Reply
#10
Solved: 4 Years, 7 Months ago
(2016-10-09, 08:38 PM)vintagedaddyo Wrote:
(2016-10-09, 03:13 PM)|| PikaKid || Wrote: Vintagedaddyo, I imported your theme into my forums and if you go to it, there is no latest Thread bar on the right

Anyway, I did it .m.'s way, and it worked finally, but I was wondering if there was any type of code that would put a border around it

Ah, well first of all you have to overwrite with the included files and I forgot to place the lang file in the right spot when I first made the zip pkg but that wouldn't matter too much on actual display. Anywhoo, I just updated the zip to put the lang file in correct directory..., without overwriting index.php and global.lang.php of course it would not display for you.., because it is missing the required files that I included and mentioned in the Documentation as well as mentioned in the manual instructions.

Do you happen to have the updated .zip file that I could download?
[Image: 3fa79201f014aa4eff8aed2703de46f3.gif]
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)