#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Dec 30, 2012 13:05:49 GMT -8
The code, as it is, only targets the threads, so the content should be in the mini-profiles in the thread pages.
When I checked it with the example code you provided it didn't work, all the code needs to be on one line (DO NOT HIT THE ENTER KEY), transferring it from your v4.5 forum to here reformatted the code into lines, breaking it.
|
|
inherit
167641
0
Apr 22, 2020 14:34:12 GMT -8
Kent Laiton
193
June 2011
bxrxw
|
Post by Kent Laiton on Dec 31, 2012 1:28:06 GMT -8
Ah yes, I see it now! I was checking if the code worked through the recent posts page and there it didn't show up, but now I checked threads instead and there it works perfectly as it should.
And I didn't hit enter in the example I put there, the forum kind of made it show up that way but everything's on one line. Except for the different contents for each user I did hit enter so I could find each user easier, so now it only works when I get rid of those spaces. So it makes it a bit harder to find each user but I'll just live with that. (using <br /> tags didn't work either) But thanks a lot for helping me on this, it really gives me some rest in my head this is solved since it was the biggest problem I had now. I really appreciate it! :]
|
|
inherit
167641
0
Apr 22, 2020 14:34:12 GMT -8
Kent Laiton
193
June 2011
bxrxw
|
Post by Kent Laiton on Jan 13, 2013 12:03:23 GMT -8
I am sorry for coming back to this thread, but I just tested out if everything would work if I copied all the content every member has in their profile. All the content for every member is very long, to be exact, around 20.000 words. On the code I use on v4 it has no problem handling this amount, but on the code for v5 there appears to be some sort of limit. I got rid of all the enter spaces and tried whatever I could to make it work, but it doesn't. I hope I explained it clear enough... Is there any way to fix this? If needed I can send you the whole coding in a PM.
Edit: So when I came back later to the global footer the code is in, the majority of it was automatically erased... so I'm assuming now, is there a limit of how many text one can add in the headers and footers? If so... well, that would be quite a bit of a problem for this code I'm afraid.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Jan 13, 2013 15:38:58 GMT -8
There is a limit to the amount of data you can have in your header/footer, but I don't know what it is off the top of my head. But if you have 20,000 WORDS per member, I think it's safe to say you may be hitting that limit.
If you are, there's no way to fix that. All I can suggest is give the Awards plug-in a look. Because the plug-in code creates the HTML coding to add to the mini-profiles, there's nothing to store.
|
|
inherit
167641
0
Apr 22, 2020 14:34:12 GMT -8
Kent Laiton
193
June 2011
bxrxw
|
Post by Kent Laiton on Jan 13, 2013 21:39:12 GMT -8
Oh, typed that wrong. It's 20.000 words for all the content together, not for every member lol. (Edit: Apologies, Word counted it wrong before. It's even shorter, 9.724 words the code has) But yeah I will take a look at it today as soon as I get the chance (am typing this on mobile) I was also thinking if I could add the whole coding to a footer area when building a plugin, I don't expect that to work because I have not much knowledge about plugins but will give it a try.
|
|
inherit
167641
0
Apr 22, 2020 14:34:12 GMT -8
Kent Laiton
193
June 2011
bxrxw
|
Post by Kent Laiton on Jan 14, 2013 5:07:49 GMT -8
Wow, making the code as a plugin actually did work! Seems plugins have a character limit too so I had to make multipile plugins for everything. (glad I put everything in alphabetical order yesterday) All the awards for everyone show up fine now. So well the problem is solved again. :] And I hope it stays that way.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Jan 14, 2013 13:40:32 GMT -8
Glad to hear it.. And well done.
|
|