vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Staff can Post hidden Posts (https://vborg.vbsupport.ru/showthread.php?t=64860)

marcel-ea 06-23-2004 11:58 PM

Quote:

Originally Posted by Xenon
yes, first the normal.

the advanced just contains additional infos :)

Gracias :squareeyed:

Xenon: Wounderful work!
I have two lang. i make all with pharses and i instert it in the QuickReplyBox
is allowed to post this changes here?

Other Question:
This post is not to edit?
Is this normal? I can?t delete or edit the posts.

Xenon 06-24-2004 12:22 PM

First:
feel free to post those changes here :)

Second:
If you just have the normal version, than this is correct, you have to install the advanced version to be able to edit/delete hidden posts

@Bob: i know :p

SnowBot 06-27-2004 04:08 AM

OK i got it installed :) finally got round to doing it even tho i had clicked the install button ages ago :)

Anyway i have 2 questions :)

1. In the instructions it says

Quote:

+++++++++++++++++++++++++++++++++++++++
add this code block whereever you want it to be:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<!-- Hidden posts -->
<if condition="can_see_hidden()">
<div class="smallfont">
<a href="search.php?$session[sessionurl]do=findhiddenposts&special=getnew">View $newhiddenposts New Hidden Posts</a>
</div>
</if>
<!-- Hidden posts -->
BUT how can i add it to the search popup on the navbar under the advanced search button ?


2. I have seen on other sites they have this feature with a tick box on the quick reply box, how can i add this ?

Thanks in advance :0

Snowy

SnowBot 06-27-2004 04:28 AM

Quote:

Originally Posted by Xenon
:)

no prob :)

in the postbit template find:

HTML Code:

                <if condition="$post['editlink']">
                        <a href="$post[editlink]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
                </if>

and before add:
HTML Code:

        <if condition="$post[visible] == 0 and $thread[threadid] > 0"><a href="postings.php?do=managepost&p=$post[postid]">Manage Post</a></if>
that should create the link :)

Anyway we can get it just to delete the post ?


I know im a pain but im lovable with it :0 lol

SnowBot 06-27-2004 10:13 AM

HELP i have a serious problem :(

everything works BUT when making a new thread no text appears in the thread but replies do :( HELP!!

Same happens when i edit a post, the new text does not show up :(

Boofo 06-28-2004 12:57 AM

For anyone not wanting the hidden posts checkbox to show up in the first post of a thread when editing the post, do the following:

In the editpost template, find:

HTML Code:

<if condition="can_see_hidden()">
and REPLACE it with:

HTML Code:

<if condition="can_see_hidden() AND !$show['firstpostnote']">
and it will no longer show up in the first post of a thread when in edit mode. ;)

Xenon 06-28-2004 08:52 PM

@Snowbot: just edit the hidden post and you can delete them as well ^^ (advanced version of the hack)

@Snowbot2: the quickreply checkbox is mentioned in the thread iirc. If not, it's absolutelly the same checkbox code then in the newreply code, just add it to the quickreply template

@Snowbot3: hmm, nothing to do with the hack itself, as you can see on vb.org ^^
Maybe you have installed another hack, or a template condition in postbit got wrong?

SnowBot 06-28-2004 11:00 PM

Thanks for the reply, i figured the problem out and its a bug with vb3.

http://www.vbulletin.com/forum/bugs....iew&bugid=3057

:)

Jolten 07-06-2004 05:02 AM

Having a little bit of a DB problem with vb3.0.3 now. The hiding works. But when attempting to alter a usergroup permissions I'm getting the following.

Database error in vBulletin 3.0.3:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Users Awaiting Email Confirmation',
description = '',
usertitle = '',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
canseehiddencustomfields = '0',
attachlimit = '0',
avatarmaxwidth = '80',
avatarmaxheight = '80',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '0',
canuserep = '0',
cannegativerep = '0',
canseeownrep = '0',
canhiderep = '0',
forumpermissions = '1',
pmpermissions = '0',
calendarpermissions = '0',
wolpermissions = '0',
adminpermissions = '0',
genericpermissions = '64',
genericoptions = '0',
arcadepermissions = '0'
WHERE usergroupid=3
mysql error: Unknown column 'canseehiddencustomfields' in 'field list'

Any help would be appreciated. I've checked and double checked all steps for installation. They've been done correctly.

Xenon 07-06-2004 10:20 AM

that's not a problem with my hack, as my hack doesn't touch usergroup settings at all.

it seems you 303 upgrade did not went correctly, as the 'canseehiddencustomfields' column was added in 302/303

you might ask at vb.com, as that's the place for upgrading problems :)


All times are GMT. The time now is 05:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01300 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete