Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 09-26-2011, 08:49 PM
Dj Smuggla Dj Smuggla is offline
 
Join Date: Sep 2009
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Edit Topics Moderation Option?

Anychance someone could make a mod to edit topics quickly?

Maybe a option in 'moderation options' to edit selected topics & then all the topics are displayed on one page, like when you view the moderation que in the admincp. But with a 'Edit' button at the bottom.

Is this even possible?
Reply With Quote
  #2  
Old 09-28-2011, 08:12 PM
Dj Smuggla Dj Smuggla is offline
 
Join Date: Sep 2009
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #3  
Old 10-07-2011, 07:55 PM
Dj Smuggla Dj Smuggla is offline
 
Join Date: Sep 2009
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really need this, can someone take a look.
Reply With Quote
  #4  
Old 10-08-2011, 03:34 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe you can explain it better- I for one don't know what you're talking about... Screeenshots of what you want might help.
Reply With Quote
  #5  
Old 10-08-2011, 08:51 PM
Dj Smuggla Dj Smuggla is offline
 
Join Date: Sep 2009
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok basically:
Im using RSS feeds from wshh to display their videos on my site.
I've added a embedding mod so i just put the full url to the video in the post without any tags around it & the video shows up in the post.

But when the RSS poster posts a thread it shows the link instead of the video. I just have to edit the post & click save then the video shows up.
I've made the RSS poster put all the threads in the moderation que before they can be seen on the site.

So im looking for a easyer way than to manually 'click edit & click save' about 50 - 80 threads a day.

So i was thinking about this:
Maybe a option in 'moderation options' to edit selected topics:


Then all the topics are displayed on one page like when you view the moderation que in the admincp. But with a 'Edit' button at the bottom next to 'Save'.

Reply With Quote
  #6  
Old 10-08-2011, 09:16 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you using the AME mod?
Reply With Quote
  #7  
Old 10-08-2011, 09:25 PM
Dj Smuggla Dj Smuggla is offline
 
Join Date: Sep 2009
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes to embed the videos, but like i said when the rss poster posts the videos there not embeded. I have to manually 'click edit & click save' about 50 - 80 threads a day.

Do you think what i suggested could work m8
Reply With Quote
  #8  
Old 10-09-2011, 11:23 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also have been working on this issue, and I'm close but not solved yet...

I have edited the file rssposter.php in the includes/cron/ directory... Since there are no hooks.

Find this code:
PHP Code:
                        $rsslog_insert_sql[] = "($item[rssfeedid]$itemid, '$itemtype', '" $vbulletin->db->escape_string($uniquehash) . "', '" $vbulletin->db->escape_string($item['contenthash']) . "', " TIMENOW ", $threadactiontime)";
                        
$cronlog_items["$item[rssfeedid]"][] = "\t<li>$vbphrase[$itemtype] <a href=\"$itemlink\" target=\"logview\"><em>$itemtitle</em></a></li>";
                    } 
And right after it add:
PHP Code:
//Set AME Flag Start
      
require_once(DIR '/includes/functions.php');
       
$amethread fetch_threadinfo($itemid);
          
$postid $amethread['firstpostid'];
          
          
$post fetch_postinfo($postid);
          
          
$post['message'] = $post['pagetext'];
          
          require_once(
DIR '/includes/ame_bbcode.php');
          
$value ame_prep_text($post['message']);
          echo 
$post['message'];
          if (
$value == 1)
          {
                  
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "post SET pagetext ='" $vbulletin->db->escape_string($post['message']) . "', ame_flag=1 WHERE postid=$post[postid]");
          }
          else if (
$value == 2)
          {
                  
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "post SET pagetext ='" $vbulletin->db->escape_string($post['message']) . "', ame_flag=1 WHERE postid=$post[postid]");
          }
 
//Set AME Flag End 
This code will set the ame_flag to "1" in the database for the post but for some reason does NOT change the [url] bbcode to [ame]...

I play with this on and off, if/when I get a solution I will post it here... Maybe someone else can look at this and have an idea where I am going wrong. From what can see the function ame_prep_text should do it... I will post this in the AME thread- maybe someone has some ideas.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:09 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04173 seconds
  • Memory Usage 2,239KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete