Hashtags on forum
+5
Jack Atlas
Ange Tuteur
Van-Helsing
Pizza Boi
TheCrow
9 posters
Page 3 of 3
Page 3 of 3 • 1, 2, 3
Hashtags on forum
First topic message reminder :
Hello. Does anyone know how to add hashtags on my forum? I always wanted to add hashtags on my forum
Forum Version: PunBB
Thanks!
Hello. Does anyone know how to add hashtags on my forum? I always wanted to add hashtags on my forum
Forum Version: PunBB
Thanks!
Re: Hashtags on forum
The thing that you don't understand is that this system searches for titles of posts. Not for words or names in the post. Search for the work forum or hashtags or system or something else that is written on the title and not in the post.
Re: Hashtags on forum
Hi
This bickering is quite pointless... or whatever you classify this. Anyway, this portion of the parser:
Is what's causing the 'disappearance' of the image re-size or any image problem for that matter because in the link I provided, as said completely ignores it.
It would be possible to have the parser along with LG's if one of us will be able to write the image-resize JQuery code.
Now my question is, would it be possible for Forumotion to hand out that code (This is directed to staff)? If it's handed out, we can re-write it as a part of LGBB's parser/BBC Code so it works (Unless there's already one in AvacWeb, my apologies as my current internet connection cannot handle being on that site and I'm unable to check).
Regards,
Pizza Boi
This bickering is quite pointless... or whatever you classify this. Anyway, this portion of the parser:
- Code:
var p = $('.post .entry-content');
for(var i = 0, post; (post = p[ i++ ]); ) {
var codes = post.getElementsByTagName('code'), store = [];
for(var j = 0, c; (c = codes[j++]); ) {
store.push(c.innerHTML);
c.innerHTML = '';
}
post.innerHTML = LGBB.parse( post.innerHTML );
for(var s, j = 0; (s = store[j]); ) codes[j++].innerHTML = s;
}
Is what's causing the 'disappearance' of the image re-size or any image problem for that matter because in the link I provided, as said completely ignores it.
It would be possible to have the parser along with LG's if one of us will be able to write the image-resize JQuery code.
Now my question is, would it be possible for Forumotion to hand out that code (This is directed to staff)? If it's handed out, we can re-write it as a part of LGBB's parser/BBC Code so it works (Unless there's already one in AvacWeb, my apologies as my current internet connection cannot handle being on that site and I'm unable to check).
Regards,
Pizza Boi
Pizza Boi- Hyperactive
- Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!
Re: Hashtags on forum
OMG! man, why you repeat your posts again and again.Marios94 wrote:The thing that you don't understand is that this system searches for titles of posts. Not for words or names in the post.
I know that, and this is exactly what I wrote in my previous posts. just i want show you all that with an example.
I want to say that the true hashtag system is for the posts not for the topics title.
Do you understand now?
Ahmed.K- Forumember
- Posts : 349
Reputation : 4
Language : English
Re: Hashtags on forum
Yeah but if it searches in the posts, how would we separate the words we search from the post and the titles? This effect is for the titles. If it searches the topics as well it would show the specific word 1000 times and it would shown 10000 results. Imagin if you had 20 times the same word in one post. Whoo. Jesus no.. I prefer it like this.
Re: Hashtags on forum
What i wrote is the true hashtag system (like in facebook and twitter). It searches in the posts.
As i said before, we can do that in our forumotion forums, but we will need to an external server, with some codes.
Anyway, good luck.
As i said before, we can do that in our forumotion forums, but we will need to an external server, with some codes.
Anyway, good luck.
Ahmed.K- Forumember
- Posts : 349
Reputation : 4
Language : English
Re: Hashtags on forum
Marios94 wrote:Yeah but if it searches in the posts, how would we separate the words we search from the post and the titles? This effect is for the titles. If it searches the topics as well it would show the specific word 1000 times and it would shown 10000 results. Imagin if you had 20 times the same word in one post. Whoo. Jesus no.. I prefer it like this.
Please take this discussion to private messages.Ahmed.K wrote:What i wrote is the true hashtag system (like in facebook and twitter). It searches in the posts.
As i said before, we can do that in our forumotion forums, but we will need to an external server, with some codes.
Anyway, good luck.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Hashtags on forum
The problem is the LGBB running after the image resizer, therefore un-doing it's work.
You could fix it by finding this in the viewtopic_body template:
And putting the LGBB code here instead of in JS management.
Like so:
Doing this means you're parsing the posts with LGBB before the image resizer is run.
The only disadvantage here is that now your LGBB is only running on the viewtopic page, which means posts elsewhere will not be parsed.
You could fix it by finding this in the viewtopic_body template:
- Code:
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.postbody .content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
And putting the LGBB code here instead of in JS management.
Like so:
- Code:
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
(function() {
var p = $('.postbody .content');
for(var i = 0, post; (post = p[ i++ ]); ) {
var codes = post.getElementsByTagName('code'), store = [];
for(var j = 0, c; (c = codes[j++]); ) {
store.push(c.innerHTML);
c.innerHTML = '';
}
post.innerHTML = LGBB.parse( post.innerHTML );
for(var s, j = 0; (s = store[j]); ) codes[j++].innerHTML = s;
}
})();
$(resize_images({ 'selector' : '.postbody .content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
Doing this means you're parsing the posts with LGBB before the image resizer is run.
The only disadvantage here is that now your LGBB is only running on the viewtopic page, which means posts elsewhere will not be parsed.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Hashtags on forum
Hi
What if we use something like:
Instead. would that suffice?
Regards,
Pizza Boi
What if we use something like:
- Code:
<script src="LINK" />
Instead. would that suffice?
Regards,
Pizza Boi
Pizza Boi- Hyperactive
- Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!
Page 3 of 3 • 1, 2, 3
Similar topics
» [New option] Hashtags # on your forum
» Two little add-ons for Hashtags
» hashtags and tags
» How can I make a recent hashtags widget?
» Styling #Hashtags?
» Two little add-ons for Hashtags
» hashtags and tags
» How can I make a recent hashtags widget?
» Styling #Hashtags?
Page 3 of 3
Permissions in this forum:
You cannot reply to topics in this forum