Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
specify how usergroups see postings Details »»
specify how usergroups see postings
Version: 1.0.33, by tyfoon tyfoon is offline
Developer Last Online: Oct 2020 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.0 Rating:
Released: 12-25-2009 Last Update: 01-01-2010 Installs: 29
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

This mods shows only partial posting to guests

Currently shows only the 50 first char. of the message. and then puts the link to the register.php.

ver. 0 alpha 1
configurable from acp
settings : active or not
length guests can view (char length or percentage of posting)
register url and message

Ver 1.0.0
Forum (in the edit forum options) can be individualy selected or can be globaly enabled
Debug mode for admins for testing
Show a percentage of a posting is also an option.



Ver 1.0.0.3
also possible to hide the post & edit time&date
Hide printthread for usergroups
hide archive for usergroups
hide images
hide http links
hide quotes
remove incomlite http links and quotes when in guest limit view
bug with settingsgroup fixed
to install : uninstall the previous version and instal the new one

ver. 1.0.0.33 Warning bitfield xml file updated
added following features
hide color, font, textsize in postings so the usergoups sees only the posting in the default text




Todo : check conflict in quotes ..
make it also work in het cms

Download Now

File Type: xml product-tyfoon_special_access0032.xml (9.9 KB, 54 views)
File Type: xml bitfield_tyfoon_special_access.xml (1.7 KB, 59 views)
File Type: xml product-tyfoon_special_access0033.xml (10.8 KB, 117 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-26-2009, 05:44 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Delilahs that replacement allows what I was wanting? Sorry I haven't looked back on your forum to see.
Reply With Quote
  #13  
Old 12-26-2009, 05:47 PM
Delilahs Delilahs is offline
 
Join Date: Mar 2009
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Charlie, Have a look at my forum to see, But it works fine for me and has allowed me to open my forum right up, I've limited it to 100 characters, which is more than enough for people to see what the forum is about, if they don't register now, then they can't be that bothered.
I really do like the options this now gives me as a forum owner.
Reply With Quote
  #14  
Old 12-26-2009, 05:49 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks just looked and saw that part of the code so yes nice indeed. Thanks Delilahs.
Reply With Quote
  #15  
Old 12-26-2009, 06:00 PM
pozo pozo is offline
 
Join Date: Sep 2008
Location: Germany
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed & nominated for MOTM :up: :up:

By the way, I have also modified it a little bit, to make it more presentable to guests:
Attachment 108229
Reply With Quote
  #16  
Old 12-26-2009, 06:21 PM
blake247 blake247 is offline
 
Join Date: Sep 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and nominated...
Reply With Quote
  #17  
Old 12-26-2009, 06:54 PM
Shogo Shogo is offline
 
Join Date: Oct 2005
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to hide only the links?
I think there was a mod for 3.8 to hide only links but this mod looks to be interesting if you can add the hide links.
Reply With Quote
  #18  
Old 12-26-2009, 07:48 PM
Delilahs Delilahs is offline
 
Join Date: Mar 2009
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shogo

The Hide links from Guests Mod for vB4
Reply With Quote
  #19  
Old 12-26-2009, 08:25 PM
lms lms is offline
 
Join Date: Jan 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trabaja de maravilla. He a?adido c?digo para que no se vea al citar ni en la versi?n imprimible ni al responder citando. He puesto una frase.

Perd?n por mi mal ingl?s, soy espa?ol y uso traductor.

Work fine. I have added code for that is not see in the printable version or to newreply quote or newreply post quote. I have put a phrase.

Forgiveness for my bad english, i am spanish and use translator..

The code in spanish:
PHP Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="show_partial_guests" active="1">
    <title>Mostrar parcialmente los mensajes a los invitados</title>
    <description>Muestra a los invitados solo una parte del mensaje</description>
    <version>0 alpha</version>
    <url />
    <versioncheckurl />
    <apm_releasedate>0</apm_releasedate>
    <apm_author />
    <apm_relatedurl />
    <apm_extrainfo />
    <apm_extraedit />
    <dependencies>
    </dependencies>
    <codes>
    </codes>
    <templates>
    </templates>
    <stylevardfns>
    </stylevardfns>
    <stylevars>
    </stylevars>
    <plugins>
        <plugin active="1" executionorder="5">
            <title>Ocultar Mensaje</title>
            <hookname>postbit_display_complete</hookname>
            <phpcode><![CDATA[if (!$vbulletin->userinfo['userid'] )
    { $post['message'] = (substr($post['message'], 0, 150)). $vbphrase[tyfoon_hide_post_register];
}]]></phpcode>
        </plugin>
        <plugin active="1" executionorder="5">
            <title>Ocultar Mensaje al Responder Citando</title>
            <hookname>newreply_quote</hookname>
            <phpcode><![CDATA[if (!$vbulletin->userinfo['userid'] )
    { $post['message'] = (substr($post['message'], 0, 150)). $vbphrase[tyfoon_hide_post_register];
}]]></phpcode>
        </plugin>
        <plugin active="1" executionorder="5">
            <title>Ocultar Mensaje al Citar</title>
            <hookname>newreply_post_quote</hookname>
            <phpcode><![CDATA[if (!$vbulletin->userinfo['userid'] )
    { $post['message'] = (substr($post['message'], 0, 150)). $vbphrase[tyfoon_hide_post_register];
}]]></phpcode>
        </plugin>
        <plugin active="1" executionorder="5">
            <title>Ocultar Mensaje en versi?n imprimible</title>
            <hookname>printthread_post</hookname>
            <phpcode><![CDATA[if (!$vbulletin->userinfo['userid'] )
    { $post['message'] = (substr($post['message'], 0, 150)). $vbphrase[tyfoon_hide_post_register];
}]]></phpcode>
        </plugin>
    </plugins>
    <phrases>
        <phrasetype name="GLOBAL" fieldname="global">
            <phrase name="tyfoon_hide_post_register" date="0" username="tyfoon" version=""><![CDATA[ Reg?strate para ver el mensaje completo <a href="register.php" type="text/html">Registrar</a>]]></phrase>
        </phrasetype>
    </phrases>
    <options>
    </options>
    <helptopics>
    </helptopics>
    <cronentries>
    </cronentries>
    <faqentries>
    </faqentries>
</product>
The code in english:
PHP Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="show_partial_guests" active="1">
    <title>Show partial post guests</title>
    <description>Shows only partial posting to guests</description>
    <version>0 alpha</version>
    <url />
    <versioncheckurl />
    <apm_releasedate>0</apm_releasedate>
    <apm_author />
    <apm_relatedurl />
    <apm_extrainfo />
    <apm_extraedit />
    <dependencies>
    </dependencies>
    <codes>
    </codes>
    <templates>
    </templates>
    <stylevardfns>
    </stylevardfns>
    <stylevars>
    </stylevars>
    <plugins>
        <plugin active="1" executionorder="5">
            <title>post hide</title>
            <hookname>postbit_display_complete</hookname>
            <phpcode><![CDATA[if (!$vbulletin->userinfo['userid'] )
    { $post['message'] = (substr($post['message'], 0, 150)). $vbphrase[tyfoon_hide_post_register];
}]]></phpcode>
        </plugin>
        <plugin active="1" executionorder="5">
            <title>post hide Newreply Quote</title>
            <hookname>newreply_quote</hookname>
            <phpcode><![CDATA[if (!$vbulletin->userinfo['userid'] )
    { $post['message'] = (substr($post['message'], 0, 150)). $vbphrase[tyfoon_hide_post_register];
}]]></phpcode>
        </plugin>
        <plugin active="1" executionorder="5">
            <title>post hide Post Quote</title>
            <hookname>newreply_post_quote</hookname>
            <phpcode><![CDATA[if (!$vbulletin->userinfo['userid'] )
    { $post['message'] = (substr($post['message'], 0, 150)). $vbphrase[tyfoon_hide_post_register];
}]]></phpcode>
        </plugin>
        <plugin active="1" executionorder="5">
            <title>post hide in printable version</title>
            <hookname>printthread_post</hookname>
            <phpcode><![CDATA[if (!$vbulletin->userinfo['userid'] )
    { $post['message'] = (substr($post['message'], 0, 150)). $vbphrase[tyfoon_hide_post_register];
}]]></phpcode>
        </plugin>
    </plugins>
    <phrases>
        <phrasetype name="GLOBAL" fieldname="global">
            <phrase name="tyfoon_hide_post_register" date="0" username="tyfoon" version=""><![CDATA[ Please register to see the whole posting <a href="register.php" type="text/html">Register</a>]]></phrase>
        </phrasetype>
    </phrases>
    <options>
    </options>
    <helptopics>
    </helptopics>
    <cronentries>
    </cronentries>
    <faqentries>
    </faqentries>
</product>
Attachment is in spanish (product-show_partial_guests(es-ES).xml) and english (product-show_partial_guests(en-EN).xml).

Salud2
Attached Files
File Type: xml product-show_partial_guests(es-ES).xml (2.2 KB, 6 views)
File Type: xml product-show_partial_guests(en-EN).xml (2.2 KB, 13 views)
Reply With Quote
  #20  
Old 12-26-2009, 10:53 PM
Shogo Shogo is offline
 
Join Date: Oct 2005
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delilahs View Post
Hum I know this mod but this is not VB 4 version

I think that would be cool to make one mod with options to hide links, hide after X letters, hide links and after X letters, ...

On my board, the first thing posted is a link and after a text...
Reply With Quote
  #21  
Old 12-27-2009, 01:33 AM
Universal Universal is offline
 
Join Date: Sep 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wondering if it was possible to add in options different category IDs (Forums) we can choose to use this mod on? This is so it is not used on the whole forum.
Reply With Quote
Reply


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 03:16 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.04835 seconds
  • Memory Usage 2,359KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete