Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 03-29-2010, 04:06 PM
4nawadir.com's Avatar
4nawadir.com 4nawadir.com is offline
 
Join Date: May 2009
Location: Algeria
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default About RSS (very important)

Hi, How are you

When we need to take some threads by RSS, we add the link
https://vborg.vbsupport.ru/external.php?type=RSS2&forumids=245
(
exemple)
and we will take threads from
vBulletin.org Forum - vBulletin 4.0 Add-ons

What about if we need to take threads from 1 user, and not from all users Threads
For exemple
https://vborg.vbsupport.ru/external.php?type=RSS2&
userids=1
& if user how have id=1 post a thread, My forum take it by rss
and from other user don't take her threads ...

Can we do it ? How ?
If we can't , we are waiting some ADD-ON to do it !

ThaNks


SoRRy FoR My BaD ENgLiSh
Reply With Quote
  #2  
Old 03-30-2010, 02:20 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This isn't very important for me. In fact, it's not important at all.
Reply With Quote
  #3  
Old 03-30-2010, 02:58 AM
ForumsMods ForumsMods is offline
 
Join Date: Aug 2007
Location: Argentina
Posts: 667
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is easty to do.
Add new plugin to external_start:
PHP Code:
$vbulletin->input->clean_array_gpc('r', array(
    
'userid'  => TYPE_UINT,
)); 
An other to external_query:
PHP Code:
$hook_query_where .= "AND thread.postuserid = " $vbulletin->GPC['userid'] . ""
Reply With Quote
  #4  
Old 03-30-2010, 09:44 AM
4nawadir.com's Avatar
4nawadir.com 4nawadir.com is offline
 
Join Date: May 2009
Location: Algeria
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
This isn't very important for me. In fact, it's not important at all.
It's important To ME
Quote:
Originally Posted by vB Style View Post
It is easty to do.
Add new plugin to external_start:
PHP Code:
$vbulletin->input->clean_array_gpc('r', array(
    
'userid'  => TYPE_UINT,
)); 
An other to external_query:
PHP Code:
$hook_query_where .= "AND thread.postuserid = " $vbulletin->GPC['userid'] . ""
Thanks , i'll test it and back !
Reply With Quote
  #5  
Old 03-30-2010, 01:36 PM
ForumsMods ForumsMods is offline
 
Join Date: Aug 2007
Location: Argentina
Posts: 667
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

At weekend, I am going to improve the hack to support multiple userids, repack it and post in Mod section.
Reply With Quote
  #6  
Old 03-31-2010, 04:48 PM
4nawadir.com's Avatar
4nawadir.com 4nawadir.com is offline
 
Join Date: May 2009
Location: Algeria
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okii i'm waiting
And your codes is okii thanks
Reply With Quote
  #7  
Old 05-07-2010, 11:07 AM
OmniBuzz OmniBuzz is offline
 
Join Date: Nov 2006
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
This isn't very important for me. In fact, it's not important at all.
I felt the same way until I read you. Now I am not sure. If it was not that important why would you post such an answer ?
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 07:53 PM.


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.05627 seconds
  • Memory Usage 2,226KB
  • Queries Executed 13 (?)
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
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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