yes I know, its already a code, but it should be a core feature. One bad thing with features that are used a lot becuase they are meant to be used as a public display to all members is they cause mass amounts of lag, because they are called after the page already has loaded and not as it was loading. In the end, in my opinion, its the same setup as why the template system was implemented, because the lag of trying to read the external codes made a forum load really slow, and isn't the real goal of vforums to make a fully function forum which is unique, functional, and user friendly, and whats more user friendly then adding features that should of been added in the first placeso that the forum loads after for all the other users.
![]()
now if i am wrong or what i am requestion doesn't make sence then please feel free to let me know,
The loading time would make no difference regardless of whether it was integrated or placed in the forum's headers/footers. The reason being that Spoiler codes are solely JS codes, meaning they would load at pretty much the same time regardless of where in the page's source they are (in actuality, it may actually increase loading times, since it would likely be put into the functions.js file, which would then take longer to load because there'd be more content in it).
thats where i'd have to disagree, i find that non-core functions cause longer load time and even lag within the system, because its still trying to call from another source and not from its main function.like an info center for example, if you use a code for it in the header and footers, then it will add lag and a lot of loading time, where the template system made it so that there isn't as much lag or load time, despite it being essentially the same thing, and that goes for the board mods and mini-profile template as well. To back this up i'm sure you can ask anyone with a slow pc and they will confirm what i am saying. But yes i know what i am suggesting may seem a little out of place, but spoiler tags are becoming common in all forum systems these days and everyone is using them because there is so many used for them, such as hiding big images so they don't stretch the forum in loading and stuff, adding to that as said in the other topic, I say core functions will always load faster then javascript hense, adding in a js code for it will add further lag and longer load times. Adding to that if made part of the core system someone can design it better, such as adding head and base images of their own, set the width of the spoiler and stuff like that without having any coding knowledge unlike the one in the code database, where if you wnat to customize to so it matches the forum better you have to rework the table system and adjust the CSS which not everyone knows how to do, adding to that if part of the system, it can then be used as UBBC within the signature so people can put their sigs in a spoiler to prevent stretching.
Again it can be usaed in so many ways and different places and have better load time if it was a core function, and not a code![]()
thats where i'd have to disagree, i find that non-core functions cause longer load time and even lag within the system, because its still trying to call from another source and not from its main function.like an info center for example, if you use a code for it in the header and footers, then it will add lag and a lot of loading time, where the template system made it so that there isn't as much lag or load time, despite it being essentially the same thing, and that goes for the board mods and mini-profile template as well. To back this up i'm sure you can ask anyone with a slow pc and they will confirm what i am saying. But yes i know what i am suggesting may seem a little out of place, but spoiler tags are becoming common in all forum systems these days and everyone is using them because there is so many used for them, such as hiding big images so they don't stretch the forum in loading and stuff, adding to that as said in the other topic, I say core functions will always load faster then javascript hense, adding in a js code for it will add further lag and longer load times. Adding to that if made part of the core system someone can design it better, such as adding head and base images of their own, set the width of the spoiler and stuff like that without having any coding knowledge unlike the one in the code database, where if you wnat to customize to so it matches the forum better you have to rework the table system and adjust the CSS which not everyone knows how to do, adding to that if part of the system, it can then be used as UBBC within the signature so people can put their sigs in a spoiler to prevent stretching.
Again it can be usaed in so many ways and different places and have better load time if it was a core function, and not a code![]()
I think you're misunderstanding what I meant.
Spoiler tags use JS to work no matter what. Whether it was built-in or added manually, it would make no difference since it would use the exact same code. Sicne the majority of the built-in JS functions are in a JS file, adding more to this file would increase the loading time more than if it were simply placed in the board's global footer.![]()
so your saying the core system of vf is made out of JS when it really should be made of PHPsorry thats all i got out of it, either way the feature would better integrate into the system if it was made part of the forum service itself.
I've been working on my own version of it, and was going to make it admin editable, but I have no idea how to setup an admin panel so that if someone inputs data, it saves it within the header/footers, so they wouldn't have to edit the code itself...
I don't know what you guys are saying.But my 512MB RAM desktop never lagged or even slowed down at all when there are allot of codes, or .js coding.
The only time the desktop is slow is when I have allot of other programs open, that's when web pages lag.
![]()
not talked lag in general, we are mainly talking load time, meaning the amount of time it takes for everything to boot up, and dude your forums don't use a lot of coding other then for design, when you adding in features that are mass use,d then it tends to increase the load time, mainly in threads.
Oh, well when I used to run a PB forum, you should know how many codes there were just to make your forum look good, that still never made it slow.![]()
PB lags now, the forum I am staff on takes about half a minute to a full minute for the whole forum to load and resize.
so your saying the core system of vf is made out of JS when it really should be made of PHPsorry thats all i got out of it, either way the feature would better integrate into the system if it was made part of the forum service itself.
I've been working on my own version of it, and was going to make it admin editable, but I have no idea how to setup an admin panel so that if someone inputs data, it saves it within the header/footers, so they wouldn't have to edit the code itself...
The core of VF is PHP, yes. However, to make a spoiler system, you would need to use a JS code. It would look something like this:
Code:
- <script>
- <!--
- function spoiler(spoilThis)
- {
- if(spoilThis.style.visiblity = 'none')
- {
- spoilThis.style.visibility = '';
- }
- else
- {
- spoilThis.style.visibility = 'none';
- }
- }
- //-->
- <script>
There is no possible PHP equivalent to this, because PHP runs before the browser even gets hold of the information. PHP cannot alter anything once the page is loaded, which is why this suggestion is only possible through JS, which is why there would be no point in making it integrated.