vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Discuss!! A Yahoo Answers Clone (https://vborg.vbsupport.ru/showthread.php?t=281692)

Christos Teriakis 04-18-2012 03:54 PM

Quote:

Originally Posted by Hareth (Post 2321317)
Thank you chris,
And when the question is hidden (can moderators see the question and answer it?)

Everybody can see it if the know the direct link. The problem is how to know the direct link. As Hide/Activate is an short time action (otherwise the use will delete it), I'm hidding it only from the listings. There is no usergroup permission check in listings. It can be, but only by modifying the code. In this case usergroup A can see only the active questions while usergroup B can see all.

Chris

Da-Vinci 04-18-2012 03:57 PM

For those with multiple styles, this is what you need to do.

1. First of all locate the file discuss.css from the files you have downloaded on here. It is located in discuss/css.

2. Next make a copy of the file and rename it to whatever you want, for the purpose of this tutorial I'm going to call it custom.css.

3. Now to edit the new CSS file.

I've made this image to get the novices started, however it's taken me a bit of time just to knock this demo up, so if you want to do all the pages your either going to have to work it out or ask for help with the CSS.

http://nzb-forum.com/images/misc/democss.png

4. So, now you've edited your CSS file and are happy with it, upload it to root/discuss/css.

5. Next go to Admin CP-->Styles & Templates-->Style Manager, now select Edit Templates from the dropdown menu in the style you want to edit. Scroll down the list until you find discuss Templates, double click and look for discuss_main.

Now find discuss/css/discuss.css and change the path to point at your new CSS file, in this case it would be discuss/css/custom.css.

Hit save and you should be all done.

If you find that you need to make further edits, you can usually do this on the fly via your FTP Client.

If you need any help with this just ask.

Good luck.

Taurus1 04-19-2012 12:04 AM

For those with heavy edited styles, where some parts of the page are completely looking out of whack. Add this:

Code:

{vb:cssfile additional.css}
to the bottom of these discuss templates:

discuss_approve_questions
discuss_ask_question
discuss_edit_question
discuss_main
discuss_my_bookmarks
discuss_my_questions
discuss_search_results
discuss_view_questions

There might be more, but those are the ones I could find quickly.

Taurus1 04-19-2012 12:14 AM

Hi Chris, is the members who answered avatars suppose to show here? See screenshot.
I am just seeing the default at this stage. Thanks.

Attachment 137882

On the main discuss page too:

Attachment 137883

Acido 04-19-2012 04:11 AM

Can't find how to delete questions. Delete or admin questions are not a feature on this mod? Thanks.

AURFSCAN 04-19-2012 05:24 AM

questions and answers to show up in 'whats new' search... now that would be epic

Christos Teriakis 04-19-2012 06:14 AM

Quote:

Originally Posted by Acido (Post 2321460)
Can't find how to delete questions. Delete or admin questions are not a feature on this mod? Thanks.

Goto My Questions and choose Delete from the droplist on the right

Chris

Christos Teriakis 04-19-2012 06:21 AM

Hello,

I just released ver.1.1.0. In this version you'll find:
  1. Bug Fixes
    1. Missing values of questions, replies, won answers at "About Author" block.
    2. Missing avatars in most listings
    3. Missing ...listings in browse categories:eek:
  2. New Features
    1. PM user for any new reply
    2. PM winner for the best answer
    3. Two new PM templates added in admincp-> Discuss-> PM Templates
How to upgrade:
  1. Donwload and unzip version 1.1.0
  2. Upload discuss.php at your installation folder
  3. Import product-discuss.xml from your admincp, choosing "Overwrite".
Regards
Chris

Taurus1 04-19-2012 06:41 AM

Thank you for the quick update. Avatars are still not showing for me on the main page though. On the other places it does.

Christos Teriakis 04-19-2012 06:58 AM

Quote:

Originally Posted by Taurus1 (Post 2321494)
Thank you for the quick update. Avatars are still not showing for me on the main page though. On the other places it does.

Sorry, I forgot that there are avatars in the homepage too. Actually it was a typo in the variable name. Please upload this file.

Chris


All times are GMT. The time now is 08:39 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.01357 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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