Post by Tohsaka Rin on Jun 25, 2013 14:28:54 GMT -8
I had thought that at one point in time I seen something like this requested before, or floating around. I was going to test out an idea with putting tabs in the mini-profile area to display additional information on a user in their thread posts by clicking between one (or multiple) tabs which are displayed.
Was this already requested or is there a template that I can refer to so that I can start modifying it?
I have never done this type of thing before so I need something to work with.
Thanks!
Example:
I have a slightly working version of it [here] (multiple posts) and [here] (single post), although I am encountering a several issues with the code.
^Oo^
Anyone have an idea as to why? I definitely want Basic Info first before Battle Data...
It might have something to do with it not wanting to call back the information correctly to threads with more than one reply? I don't know... I am trying to figure out what is going on and I am stumped.
- I managed to figure out what to do with it.
If you click "Battle Data" in any of the mini-profiles on those two pages linked above you can see what I am talking about.
In the event that anyone willing to help with these three problems needs more information about the code, feel free to leave a message below or notify me via PM so that I can send the sheets over. I do not know how to make a plugin, this originally was to be an MP template mod and I was just uploading the code to my server for the tabs to function.... I understand that I am not a good coder, there are probably easier ways to do this but I need direction on where/how/what is going on so that it can be fixed....
Thanks!
(So far it has not conflicted with any other plugin on the forum after 2 weeks of testing. I just need the help with fixing the last, above mentioned, problem noted in red. It does not break the following codes: Alias, Money, Karma nor Awards.)
Leave a reply below if you want to help. I am willing to scrap this coding for better coding/plugin if someone is willing to pick it up. I have the files I am currently using available for download to help with testing/debugging/re-writing the code as well.
Was this already requested or is there a template that I can refer to so that I can start modifying it?
I have never done this type of thing before so I need something to work with.
Thanks!
Example:
I have a slightly working version of it [here] (multiple posts) and [here] (single post), although I am encountering a several issues with the code.
I. If I put all the "Roleplay Statistics" in the "Basic Info" (tab 1) tab, tab 2 "Battle Data" does not seem to want to function right. However, if I just swap them around they work perfectly.
Anyone have an idea as to why? I definitely want Basic Info first before Battle Data...
- I managed to figure out what to do with it.
II. Also, on a minor note, if you make a custom profile entry and a user does not fill it in, how do you have it auto-exclude itself from the mini-profile? The default tabs do that. For instance, if you do not put in a gender then the gender entry does not even show up - nor leave a space behind where it should be.- Fixed this as well!
When I have the mini-profile call custom profile entries, and a user does not fill them in, they show up as blank spaces.... I don't know how to clean that up.
III. When multiple posters (even yourself) post a reply to a thread the tabs no longer work for any MP after the first one.
It displays the information correctly and still works for the first person's MP but for every one of the MP's following display the information from both tabs in one tab. If you click to view the second tab it auto-loads you to the very first post...I have no idea how to fix this or go about figuring out why.
- Cannot seem to fix this. Either the script needs to have things updated/cleaned up on it or it has to be remade. I need help doing this as this maxed out my capability with what I can work on. I uh....cannot call myself a coder. <ii> I find it funny some of my terrible stuff works half the time.
If you click "Battle Data" in any of the mini-profiles on those two pages linked above you can see what I am talking about.
In the event that anyone willing to help with these three problems needs more information about the code, feel free to leave a message below or notify me via PM so that I can send the sheets over. I do not know how to make a plugin, this originally was to be an MP template mod and I was just uploading the code to my server for the tabs to function.... I understand that I am not a good coder, there are probably easier ways to do this but I need direction on where/how/what is going on so that it can be fixed....
Thanks!
(So far it has not conflicted with any other plugin on the forum after 2 weeks of testing. I just need the help with fixing the last, above mentioned, problem noted in red. It does not break the following codes: Alias, Money, Karma nor Awards.)
Leave a reply below if you want to help. I am willing to scrap this coding for better coding/plugin if someone is willing to pick it up. I have the files I am currently using available for download to help with testing/debugging/re-writing the code as well.