devoidfeast
07-22-2015, 04:14 AM
Hello Fellows,
can i add some number inside the vbulletin 5 display templates?
i wrote a simple javascript that works but i do not know how can i use the updated value.
Here is the code.
<script>
var number = {vb:raw conversation.nodeid};
idd=number + 1;
console.log(idd);
</script>
How Can I Use the Updated Value in variable idd?
i want to use the "idd" as follow.
<img class="bbcode-attachment" src="{vb:raw baseurl}/filedata/fetch?id=idd&type=medium"/>
i kind of want to assign the value of idd to conversation.nodeid.
What i am trying to find is the attachment id in a vbulletin 5 post.is there any simple way of getting all the attachment in a vbulletin 5 post?
One Of My Question is How Can Get all the images linked in to the post.?
Thank you
Regards
devoid
can i add some number inside the vbulletin 5 display templates?
i wrote a simple javascript that works but i do not know how can i use the updated value.
Here is the code.
<script>
var number = {vb:raw conversation.nodeid};
idd=number + 1;
console.log(idd);
</script>
How Can I Use the Updated Value in variable idd?
i want to use the "idd" as follow.
<img class="bbcode-attachment" src="{vb:raw baseurl}/filedata/fetch?id=idd&type=medium"/>
i kind of want to assign the value of idd to conversation.nodeid.
What i am trying to find is the attachment id in a vbulletin 5 post.is there any simple way of getting all the attachment in a vbulletin 5 post?
One Of My Question is How Can Get all the images linked in to the post.?
Thank you
Regards
devoid