Former Member
inherit
guest@proboards.com
258970
0
Nov 27, 2024 11:33:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 19, 2019 9:56:11 GMT -8
This problem happened while I used only plugin alone without using a code shrani.si/f/x/TR/1HqipN4d/1/sshot-1.png
BTW With this code <span class="thread_count" id="threads-$[user.id]"></span> thread count in profile looks like this Years: 38 Threads:6 E-Mail: keny4545@gmail.com while with the code above it looks as it should Years: 38 Threads: 6 E-Mail: keny4545@gmail.com I put this code in to Layout Templates/User Profile/Summary. Is that correct or do I need to put it somewhere else?
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 19, 2019 10:24:30 GMT -8
This problem happened while I used only plugin alone without using a code shrani.si/f/x/TR/1HqipN4d/1/sshot-1.pngBTW With this code thread count in profile looks like this Years: 38 Threads:6 E-Mail: keny4545@gmail.com while with the code above it looks as it should Years: 38 Threads: 6 E-Mail: keny4545@gmail.com I put this code in to Layout Templates/User Profile/Summary. Is that correct or do I need to put it somewhere else? That is an issue that others have had before, when using images instead of text for the stats list. The code looks for a the cell containing 'Posts:', and adds the thread count below it, as your forum is not in English that would be the issue here, so in your case, yes, you would need to add the full code that you posted, sorry.
|
|
Former Member
inherit
guest@proboards.com
258970
0
Nov 27, 2024 11:33:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 19, 2019 12:05:40 GMT -8
But Im not using images instead of text for the stats list.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 20, 2019 8:09:05 GMT -8
But Im not using images instead of text for the stats list. Correct, but the code is looking for the cell containing 'Posts:' so that it knows where to insert the thread count. Your forum does not have a cell containing Posts:, instead you have 'Objave:', unfortunately, the code does not know Slovenian, and so cannot find the correct cell to insert the threads list.
|
|
Former Member
inherit
guest@proboards.com
258970
0
Nov 27, 2024 11:33:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 21, 2019 1:59:30 GMT -8
And is it possible to create an option, so message for counter reset doesnt appear, because new forums dont need that.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 21, 2019 8:24:38 GMT -8
And is it possible to create an option, so message for counter reset doesnt appear, because new forums dont need that. You have 2 ways of doing that. You can add styling directly within the plugin by using the options to change the pop-up messages.. If you are using your own messages, just surround them in styled <span> tags, if not, you can copy/paste the default message into the option boxes and surround them in <span> tags.. <span style="color: red;">(member)'s thread count needs to be reset. Please click 'OK'. Thank you.</span> <br><br> Or you can add a code to your forums CSS Styling... #thread_alert { color: red; } Version 0.2.2 of the plugin will alow you to disable messages by adding N/A into the message fields.
|
|
Former Member
inherit
guest@proboards.com
258970
0
Nov 27, 2024 11:33:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 22, 2019 14:31:59 GMT -8
Hi I tried that but link doesnt change to red.
<span style="color: red;"> Your threads count has not yet been set. Please <reset>click here</reset> to correct this..</span> <br><br>
It becomes
Your threads count has not yet been set. Please click here to correct this
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 22, 2019 14:49:31 GMT -8
Hi I tried that but link doesnt change to red.
<span style="color: red;"> Your threads count has not yet been set. Please <reset>click here</reset> to correct this..</span> <br><br>
It becomes
Your threads count has not yet been set. Please click here to correct this
If you want the link to be red, or any other color for that matter, simply use <span> tags within the link too... <span style="color: red">Your threads count has not yet been set.<br> Please <reset><span style="color: red">click here</span></reset> to correct this.</span> <br><br>
|
|
Former Member
inherit
guest@proboards.com
258970
0
Nov 27, 2024 11:33:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 22, 2019 14:58:19 GMT -8
Hi I tried that but link doesnt change to red.
<span style="color: red;"> Your threads count has not yet been set. Please <reset>click here</reset> to correct this..</span> <br><br>
It becomes
Your threads count has not yet been set. Please click here to correct this
If you want the link to be red, or any other color for that matter, simply use <span> tags within the link too... <span style="color: red">Your threads count has not yet been set.<br> Please <reset><span style="color: red">click here</span></reset> to correct this.</span> <br><br> Silly me, I tried that but I put color code outside <reset> and it didnt apply.
Thank you.
|
|
Former Member
inherit
guest@proboards.com
258970
0
Nov 27, 2024 11:33:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 22, 2019 15:00:40 GMT -8
I hope Im not annoying but can bold code work?
Im not familiar with this code I know only BBCode and regular HTML.
One problem, OK button in Confirmation window cant be seen because it is white, where to change that?
Ok I changed my theme so that links are greyish.
|
|
Former Member
inherit
guest@proboards.com
258970
0
Nov 27, 2024 11:33:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 22, 2019 16:11:12 GMT -8
Is it correct that Thread counts as Post and as Thread??
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 23, 2019 12:06:05 GMT -8
Silly me, I tried that but I put color code outside and it didnt apply. Thank you. Not a problem. Yup, You need 'font-weight' for that... <span style="color: red; font-weight: bold;">Your threads count has not yet been set.<br> Please <span style="color: red; font-weight: bold;">click here</span> to correct this.</span> <br> Changing your theme is one option, or you change it by adding CSS to your forum, or even within the plugin itself.. <span style="color: red; font-weight: bold;">Thank you.<br><br> Please click 'OK' to go back to your previous page.</span>
I'm not sure what you mean.. The thread count is the amount of threads that a member has started.
|
|
Former Member
inherit
guest@proboards.com
258970
0
Nov 27, 2024 11:33:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 23, 2019 12:22:36 GMT -8
1 thread counts as 1 post and 1 thread. So you get:
Posts: 1 Threads: 1
Shouldnt thread count as thread and post as post.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 23, 2019 13:32:24 GMT -8
1 thread counts as 1 post and 1 thread. So you get: Posts: 1 Threads: 1 Shouldnt thread count as thread and post as post. When a member creates a thread, the plugin increases the thread count by 1, but PB also adds 1 to their post count too, the plugin doesn't control that.
|
|
inherit
6871
0
Jun 10, 2024 2:25:35 GMT -8
bigballofyarn
"If you wish to make an apple pie from scratch, you must first invent the universe." -Carl Sagan
7,899
January 2003
bigballofyarn
|
Post by bigballofyarn on Sept 28, 2019 5:09:32 GMT -8
TodgeThis script will keep updating the count in real time and on its own, correct? I'm not sure why there are options for resetting/updating members' thread counts if it's supposed to update the count after threads are created. Is this potentially to account for threads created on mobile devices when the script isn't running? Or will the count correct itself the next time the individual is on a computer?
|
|