Hello,
How can I make a recent hashtags widget? My forum version is punbb.
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
Group name : Up To You
Group description: doesn't matter
Group Moderator : yourself
Group Members Color :none
Color Group Members : No
Group Order : 100 or past your last group
Group status : up to you i set mine to hidden
Permission to send PM Mailings : up to you i set mine to members
Group auto-subscribe : Yes
Minimum Posts : 0
$(function(){
$('input[name="post"]').after('<span style="z-index: 55;width: 55px;height: 25px;position: absolute;" id="pfirst"></span>');
var bottomLeft = $('input[name="post"]').offset().left;
$('#pfirst').css('left',bottomLeft);
$('#pfirst').click(function(){
var thetopic = "t3-status-updates";
var thepost = "4";
var mm = "";
if($('.sceditor-container').length == 1){
$('.sceditor-button-source').click();
setTimeout(function(){
blah = $('.sceditor-container').find('iframe').contents().find('body').html();
blah = blah.replace(/ /g,",").replace(/\n/g,",").replace(/<+[a-z]+>/g," ").replace(/<+\/[a-z]+>/g," ").replace(" "," ").replace(" "," ");
breakthem = blah.split(",");
kgg="";
for(var i = 0; i < breakthem.length; i++){
khh = breakthem[i];
if(khh.match("#")){
kgg = kgg+" " + khh;
};
};
jQuery.get(thetopic, function (data) {
var groupz = {
group1z: jQuery('.entry-content div', data).text(),
};
ff = groupz.group1z;
gg = ff.split(' ');
mm="";
for(var i = 0; i < 12; i++){
var hh = gg[i];
mm = mm + " "+ hh;
};
jQuery.post('/post?p='+thepost+'&mode=editpost', {
subject: 'Status Updates',
message: kgg+mm,
post: 1
});
$('input[name="post"]').click();
}) }, 500);
};
});
});
var thetopic = "t3-status-updates";
var thepost = "4";
<style>
#hashwidget a{
background-color: lightgrey;
border:1px solid black;
padding:3px;
display:inline-block;
border-radius: 5px;}
</style>
<div id="hashwidget">
</div><br /><script>jQuery(function(){
jQuery('#hashwidget').empty()
jQuery.get('t3-status-updates', function (data) {
tpfieldid = '#field_id2 .field_uneditable';
var group = {
group1: jQuery('.entry-content a', data).parent().html(),
};
jQuery('#hashwidget').append(group.group1)
});
})</script>
t3-status-updates
$(function(){
$('input[name="post"]').after('<span style="z-index: 55;width: 55px;height: 25px;position: absolute;" id="pfirst"></span>');
var bottomLeft = $('input[name="post"]').offset().left;
$('#pfirst').css('left',bottomLeft);
$('#pfirst').click(function(){
var thetopic = "t3-status-updates";
var thepost = "4";
var mmr = "";
if($('.sceditor-container').length == 1){
$('.sceditor-button-source').click();
setTimeout(function(){
blahd = $('.sceditor-container').find('iframe').contents().find('body').html();
blahd = blahd.replace(/ /g,",").replace(/\n/g,",").replace(/<+[a-z]+>/g," ").replace(/<+\/[a-z]+>/g," ").replace(" "," ").replace(" "," ");
breakthems = blahd.split(",");
kgg="";
for(var i = 0; i < breakthems.length; i++){
khh = breakthems[i];
if(khh.match("#")){
kgg = kgg+" " + khh;
};
};
jQuery.get(thetopic, function (data) {
var groupza = {
group1z: jQuery('.entry-content div', data).text(),
};
ffa = groupza.group1z;
ggq = ffa.split(' ');
mmr="";
for(var i = 0; i < 12; i++){
var hhz = ggq[i];
mmr = mmr + " "+ hhz;
};
jQuery.post('/post?p='+thepost+'&mode=editpost', {
subject: 'Status Updates',
message: kgg+mmr,
post: 1
});
$('input[name="post"]').click();
}) }, 500);
};
});
});
<style>
#hashwidget a{
background-color: lightgrey;
border:1px solid black;
padding:3px;
display:inline-block;
border-radius: 5px;}
</style>
<div id="hashwidget">
</div><br /><script>jQuery(function(){
jQuery('#hashwidget').empty()
jQuery.get('t3-status-updates', function (data) {
var hashed = {
group1: jQuery('.entry-content a', data).parent().html(),
};
jQuery('#hashwidget').append(hashed.group1)
});
})</script>
<style>
#hashwidget a{
background-color: lightgrey;
border:1px solid black;
padding:3px;
display:inline-block;
border-radius: 5px;}
</style>
<div id="hashwidget">
</div><br /><script>jQuery(function(){
jQuery('#hashwidget').empty()
jQuery.get('t15843-topic', function (data) {
var hashed = {
group1: jQuery('.entry-content a', data).parent().html(),
};
jQuery('#hashwidget').append(hashed.group1)
});
})</script>
$(function(){
$('input[name="post"]').after('<span style="z-index: 55;width: 55px;height: 25px;position: absolute;" id="pfirst"></span>');
var bottomLeft = $('input[name="post"]').offset().left;
$('#pfirst').css('left',bottomLeft);
$('#pfirst').click(function(){
var thetopic = "t15843-topic";
var thepost = "20063";
var mmr = "";
if($('.sceditor-container').length == 1){
$('.sceditor-button-source').click();
setTimeout(function(){
blahd = $('.sceditor-container').find('iframe').contents().find('body').html();
blahd = blahd.replace(/ /g,",").replace(/\n/g,",").replace(/<+[a-z]+>/g," ").replace(/<+\/[a-z]+>/g," ").replace(" "," ").replace(" "," ");
breakthems = blahd.split(",");
kgg="";
for(var i = 0; i < breakthems.length; i++){
khh = breakthems[i];
if(khh.match("#")){
kgg = kgg+" " + khh;
};
};
jQuery.get(thetopic, function (data) {
var groupza = {
group1z: jQuery('.entry-content div', data).text(),
};
ffa = groupza.group1z;
ggq = ffa.split(' ');
mmr="";
for(var i = 0; i < 12; i++){
var hhz = ggq[i];
mmr = mmr + " "+ hhz;
};
jQuery.post('/post?p='+thepost+'&mode=editpost', {
subject: 'Πρόσφατα HashTags',
message: kgg+mmr,
post: 1
});
$('input[name="post"]').click();
}) }, 500);
};
});
});
$(function(){
if($('.sceditor-container').length == 1){
$('input[name="post"]').after('<span style="z-index: 55;width: 55px;height: 25px;position: absolute;" id="pfirst"></span>');
var bottomLeft = $('input[name="post"]').offset().left;
$('#pfirst').css('left',bottomLeft);
}
$('#pfirst').click(function(){
var thetopic = "t15843-topic";
var thepost = "20063";
var mmr = "";
if($('.sceditor-container').length == 1){
$('.sceditor-button-source').click();
setTimeout(function(){
blahd = $('.sceditor-container').find('iframe').contents().find('body').html();
blahd = blahd.replace(/ /g,",").replace(/\n/g,",").replace(/<+[a-z]+>/g," ").replace(/<+\/[a-z]+>/g," ").replace(" "," ").replace(" "," ");
breakthems = blahd.split(",");
kgg="";
for(var i = 0; i < breakthems.length; i++){
khh = breakthems[i];
if(khh.match("#")){
kgg = kgg+" " + khh;
};
};
jQuery.get(thetopic, function (data) {
var groupza = {
group1z: jQuery('.entry-content div', data).text(),
};
ffa = groupza.group1z;
ggq = ffa.split(' ');
mmr="";
for(var i = 0; i < 12; i++){
var hhz = ggq[i];
mmr = mmr + " "+ hhz;
};
jQuery.post('/post?p='+thepost+'&mode=editpost', {
subject: 'Πρόσφατα HashTags',
message: kgg+mmr,
post: 1
});
$('input[name="post"]').click();
}) }, 500);
};
});
});
$(document).ready(function(){
if($('.sceditor-container').length == 1){
$('input[name="post"]').after('<span style="z-index: 55;width: 80px;height: 25px;position: absolute;" id="pfirst"></span>');
var bottomLeft = $('input[name="post"]').offset().left;
$('#pfirst').css('left',bottomLeft-45);
}
$('#pfirst').click(function(){
var thetopic = "/t15843-topic";
var thepost = "20063";
var mmr = "";
if($('.sceditor-container').length == 1){
$('.sceditor-button-source').click();
setTimeout(function(){
blahd = $('.sceditor-container').find('iframe').contents().find('body').html();
blahd = blahd.replace(/ /g,",").replace(/\n/g,",").replace(/<+[a-z]+>/g," ").replace(/<+\/[a-z]+>/g," ").replace(" "," ").replace(" "," ");
breakthems = blahd.split(",");
kgg="";
for(var i = 0; i < breakthems.length; i++){
khh = breakthems[i];
if(khh.match("#")){
kgg = kgg+" " + khh;
};
};
jQuery.get(thetopic, function (data) {
var groupza = {
group1z: jQuery('.entry-content div', data).text(),
};
ffa = groupza.group1z;
ggq = ffa.split(' ');
mmr="";
for(var i = 0; i < 12; i++){
var hhz = ggq[i];
mmr = mmr + " "+ hhz;
};
jQuery.post('/post?p='+thepost+'&mode=editpost', {
subject: 'Πρόσφατα HashTags',
message: kgg+mmr,
post: 1
});
$('input[name="post"]').click();
}) }, 500);
};
});
});
$(document).ready(function(){
if($('.sceditor-container').length == 1){
$('input[name="post"]').after('<span style="z-index: 55;width: 80px;height: 25px;position: absolute;" id="pfirst"></span>');
var bottomLeft = $('input[name="post"]').offset().left;
$('#pfirst').css('left',bottomLeft-45);
}
$('#pfirst').click(function(){
var thetopic = "t4-topic";
var thepost = "7";
var mmr = "";
if($('.sceditor-container').length == 1){
$('.sceditor-button-source').click();
setTimeout(function(){
blahd = $('.sceditor-container').find('iframe').contents().find('body').html();
blahd = blahd.replace(/ /g,",").replace(/\n/g,",").replace(/<+[a-z]+>/g," ").replace(/<+\/[a-z]+>/g," ").replace(" "," ").replace(" "," ");
breakthems = blahd.split(",");
kgg="";
for(var i = 0; i < breakthems.length; i++){
khh = breakthems[i];
if(khh.match("#")){
kgg = kgg+" " + khh;
};
};
jQuery.get(thetopic, function (data) {
var groupza = {
group1z: jQuery('.entry-content div', data).text(),
};
ffa = groupza.group1z;
ggq = ffa.split(' ');
mmr="";
for(var i = 0; i < 12; i++){
var hhz = ggq[i];
mmr = mmr + " "+ hhz;
};
jQuery.post('/post?p='+thepost+'&mode=editpost', {
subject: 'Πρόσφατα HashTags',
message: kgg+mmr,
post: 1
});
$('input[name="post"]').click();
}) }, 500);
};
});
});
<style>
#hashwidget a {
background-color: #D3D3D3;
border: 1px solid #000;
padding: 3px;
display: inline-block;
border-radius: 4px;
background: url("http://i38.servimg.com/u/f38/18/10/12/74/tag-ha10.png") no-repeat 5% 80% green;
padding: 1px 5px 1px 20px;
color: white;
}
</style>
<div id="hashwidget">
</div><br /><script>jQuery(function(){
jQuery('#hashwidget').empty()
jQuery.get('t4-topic', function (data) {
var hashed = {
group1: jQuery('.entry-content a', data).parent().html(),
};
jQuery('#hashwidget').append(hashed.group1)
});
})</script>