Solved: 1 Month, 1 Week, 6 Days ago Tweaks on Advanced Sidebox
#1
Solved: 1 Month, 1 Week, 6 Days ago
Hello,

I started earlier working on myBB and tried to search a way of tweaking the plugin Advanced Sidebox by myself but i couldn't.

So i'm trying to include the thread prefix and forum associated to the Last Thread Module

So:

[PREFIX] [LAST THREAD NAME]

[AVATAR]

[FORUM WHERE THREAD IS ASSOCIATED]
[DATE]
[VIEWS]

I'll send as attachment the way i have it currently.

Thanks in advance

i've tried

{$lang->forum} <a href="{$thread['forumlink']}">{$thread['forumname']}</a><br />

but it doesn't show anything


Attached Files Thumbnail(s)
   
Reply
#2
Solved: 1 Month, 1 Week, 6 Days ago
Which version of the plugin do you use ? The latest (unreleased) version is 4.0, update to that version first and then I would be able to assist you.
Reply
#3
Solved: 1 Month, 1 Week, 6 Days ago
i've updated to v4.0 but i had this message when trying to move the modules to left/right

(2021-08-31, 08:13 PM)Omar G. Wrote: Which version of the plugin do you use ? The latest (unreleased) version is 4.0, update to that version first and then I would be able to assist you.

i used the zip file from here: https://community.mybb.com/thread-205046...pid1330875

and did the adjustments from here: https://community.mybb.com/thread-223481...pid1330871

i'm using Emerald v2 Dark


Attached Files Thumbnail(s)
   
Reply
#4
Solved: 1 Month, 1 Week, 6 Days ago
Try cleaning your cache, this is a cache issue I did experience as well, it went away eventually.
Reply
#5
Solved: 1 Month, 1 Week, 6 Days ago
oh ok downloaded other file and it works.

but still trying the code above and didn't worked.

already on 4.0 but still couldnt add the prefix and forum where the thread is.
Reply
#6
Solved: 1 Month, 1 Week, 6 Days ago
Apply the following changes or simply replace the whole file :
https://github.com/Sama34/Advanced-Sideb...907dd326b0

Then, you should be able to use {$forum['name']}, {$thread['forumlink']}, {$thread['threadprefix']}, and {$thread['displayprefix']} in the asb_latest_threads_thread template.
Reply
#7
Solved: 1 Month, 1 Week, 6 Days ago
(2021-09-01, 02:52 AM)Omar G. Wrote: Apply the following changes or simply replace the whole file :
https://github.com/Sama34/Advanced-Sideb...907dd326b0

Then, you should be able to use {$forum['name']}, {$thread['forumlink']}, {$thread['threadprefix']}, and {$thread['displayprefix']} in the asb_latest_threads_thread template.

worked perfectly but now i can't access "admin/index.php?module=config-asb"
blank page
Reply
#8
Solved: 1 Month, 1 Week, 6 Days ago
Enable errors and check your logs to figure out the exact error that isn't being displayed to you :
https://docs.mybb.com/1.8/faq/errors/

Otherwise, I can't guess what the error is.
Reply
#9
Solved: 1 Month, 1 Week, 6 Days ago
(2021-09-01, 07:11 PM)Omar G. Wrote: Enable errors and check your logs to figure out the exact error that isn't being displayed to you :
https://docs.mybb.com/1.8/faq/errors/

Otherwise, I can't guess what the error is.

but i dont have any error. it just loads a white page when trying to configure Advanced Sidebox.
same white page when trying to uninstall the plugin. had to be manual
Reply
#10
Solved: 1 Month, 1 Week, 6 Days ago
Why did you uninstall the plugin ? How do you uninstall a plugin manually ?

A white page means an error that is not being displayed, you have to enable the display of errors, as well as logging to then check the errors log file that is a physical file in your file system.

Read the page I linked in my previous post.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)