@phenomlab thanks a lot for these, both of the below are awesome! ♥
https://codepen.io/bennettfeely/pen/vYLmYJz
https://codepen.io/C-L-the-selector/pen/MWZbWBo
//update i started migrating files into this domain 123forum.tk
i will list all features that we have implemented there and we will figure out which features we can take from the 123forum
@Hari keep us posted.
123forum theme is an identical flarum them with all features. it is fully built though it is not deployed due to load issues. the reason i am sharing is you can consider taking CSS or JS from it . i am aware about reusing doesn’t always work for our needs but consider it as a visual prototype
Home page
Sorting - latest, new, old …etc
Home page “load more” discussions
at home page Front end moderation of discussions (for admins only)
Start Discussion Composer Window
Composer window WYSIWYG editor with various options (bold, font styles …etc)
Discussion page
Composer - text editor
Reply feature
follow discussion feature
front end moderation for admin (low priority)
Scroll indicator (we have implemented this differently using CSS, basically it is just regular indicator of page, page top, page bottom)
https://codepen.io/paulobrien/pen/JWdoXm
Related posts
where we can select as many related discussions manually
10 related discussion will be shown automatically
using CPTR if we set 2 discussions rest of the 8disucssions will be shown from YARPP
The biggest reason for us to start this project is related posts and flarum doesn’t support Dravid languages like hindi, telugu (they recently fixed major bug on this)
https://wordpress.org/plugins/custom-post-types-relationships-cptr/ - custom-post-types-relationships-cptr
https://www.cssigniter.com/custom-post-types-relationships/#download
wpDiscuz priemum extenstions integration
mostly all plugins are integrated their icons are changed to flarum
features like upload files and embed posts also integrated
https://gvectors.com/product-category/wpdiscuz/
the reason we did not go for buddy boss is it has these weird slugs
https://www.buddyboss.com/support-forums/topic/group-members-are-not-being-displayed/
what we wanted is
domain.com/forum/this-is-my-question
we never wanted subpages like
domain.comforum/this-is-my-question/topic/nature/this-is-my-question/10
default WordPress comment link is acceptable for example
domain.comforum/this-is-my-question#10
of course, this is not suitable for large threads but I make sure to close any discussion under 10 comments so there will be no need for pagination or lazy loading.
CloudWays+Cloudflare enterprise will help me to achieve after load speeds + Redis for WordPress will handle the extra load.
are you building a WordPress block theme? if that is the case it would be easy to use with a regular WordPress theme without diving into buddy press
@Hari thanks for the scrool indicator codepen i was looking for that one
I couldn’t find it I will add this on posts for sure.
edit: scroll not realtime it is calculating coordinates when you stop scrolling. sadge…
it is simple Wordpress theme I am cutting lots of features because we don’t need it and ofc you can add plugins later.
here is the forum https://atarikafa.com/toplulukk/
( it will move here soon https://atarikafa.com/topluluk/ )
for the permalink you can make any permalink you want because it is main posts and categories and everything will work no SEO problem. for my case only users u/user links will change to members/user I will just make a 301 on htacsess for this.
I tried wpdisqus and similar ones but I wanted to focus on theme design first. i am making the theme simple so it supports any plugin. i may even upload this to wp.org if I make the time for it
only ajax posting/topic starting feature missing
but here is the first commit for you
https://github.com/sinanisler/SiForum
@sinanisler looks nice, but needs some work from the mobile perspective
@phenomlab how small display is your phone
I checked mobile too
edit: oh you are using larger text setting that’s why ok ok got it…
@sinanisler it’s not small It’s a OnePlus 9 Pro. Did you use an emulator for testing, as these are known to not be very accurate. I get the same from my iPhone 13 Pro (work) also.
@phenomlab easy fix i may need to make those tags relative and move a bit.
@sinanisler yes, looks like you’ve used position: absolute;
for the tags
i could not find good scrool indicator codepen or jsfiddle pfff
anyone know a lib or something like flarum or Discourse scroll indicator ?
@sinanisler if you look carefully, you’ll see sudonix has one used on this site. More a reading indicator, but not difficult to adapt.
@phenomlab yep
do you have simplified codepen for it ?
@sinanisler forget about indicator my friend worked on it i will share the files. I have migrated halfway and did not connect DB. I will do it tomorrow since it’s weekend i felt bit lazy to do it.
What friend did is, he will not relay on comments / answers count he will just assume page as certain length like 100% if page is scrolled to half he will display as 10th post out of 20 posts. (Not sure how it’s codeed.
Thanks for sharing the link, i will go through it and will let you know my feedback.
Tags alignment issue is there on opera mobile Mi A2 device
@sinanisler one quick question, in buddy press all the replies are WordPress comments or individual posts?
gtmetrix.com/reports/123forum.tk/Meltdvxl/
lightbox for images
fully restored. now in maintenance mod for various privacy reasons.
i will DM you both the logins
shared logins via Private message
do you think we can fix speed issues in this theme? or can we make a new theme using the code?
@Hari I don’t think the speed issues are because of the theme, but would need to see the code to be sure. There’s likely to be several things we can do to improve performance.
However, the site is extremely slow
@phenomlab sure, this theme was developed by freshers, making a new theme using the code of this theme would be a nice idea.
maybe its loading slowly because they hardcoded the existing plugins or added more rules in the core to functions.php
either we can speed this theme or we can take code from this theme to the SiForum
do you want the entire backup or just the wp-admin logins to look into this?