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 10:06 AM

Quote:

Originally Posted by Vick98 (Post 2321212)
I modified the template with the above code but with no luck. I do appreciate your support and quick reply.

You can help me if you post a link here and try to understand your issue by reading the code from the page.

Chris

Vick98 04-18-2012 10:09 AM

Quote:

Originally Posted by ChrisTERiS (Post 2321215)
You can help me if you post a link here and try to understand your issue by reading the code from the page.

Chris

http://www.clansks.com/discuss.php

Christos Teriakis 04-18-2012 10:11 AM

Quote:

Originally Posted by Vick98 (Post 2321217)

give permissions to guests to see the page, and when I'll finish you can turn it off

Vick98 04-18-2012 10:16 AM

Quote:

Originally Posted by ChrisTERiS (Post 2321218)
give permissions to guests to see the page, and when I'll finish you can turn it off

Permission granted. Also, this there any way to change it to a dark template?

Christos Teriakis 04-18-2012 10:30 AM

Quote:

Originally Posted by Vick98 (Post 2321217)

I think that you need to contact your designer. I'm using only the space in the red block (see the attachment) and I can't find there anything messed.

Chris

Vick98 04-18-2012 10:33 AM

Okay, thanks again for your support. I really do appreciate it.

KProjects 04-18-2012 01:14 PM

Great mod idea - planning to give it a go later in the week!

Hareth 04-18-2012 01:17 PM

Hello again,

I've a question. Is it possible for a user to choose to hide his question from members but not moderators when he/she creates a new question?

If there is no such feature, I am willing to pay for this extra feature.

Thank you,

Christos Teriakis 04-18-2012 01:57 PM

Quote:

Originally Posted by Hareth (Post 2321272)
Hello again,

I've a question. Is it possible for a user to choose to hide his question from members but not moderators when he/she creates a new question?

If there is no such feature, I am willing to pay for this extra feature.

Thank you,

Currently a user can Hide/Activate a question. This works for all in public listings. But if someone know the link, he can still see the question.

Chris

Hareth 04-18-2012 03:13 PM

Thank you chris,
And when the question is hidden (can moderators see the question and answer it?)

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

Taurus1 04-19-2012 07:03 AM

Quote:

Originally Posted by ChrisTERiS (Post 2321497)
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

Thank you! That did it. :):up:

Taurus1 04-19-2012 07:09 AM

Bah....lol

Just when I am happy with the sidebar parts colors on the main page:

Attachment 137887

Then it reverts back to the default colors on the questions page:

Attachment 137888

Is there somewhere else I must change this?

Thank you!

Christos Teriakis 04-19-2012 07:13 AM

Quote:

Originally Posted by Taurus1 (Post 2321501)
Bah....lol

Just when I am happy with the sidebar parts colors on the main page:

Then it reverts back to the default colors on the questions page:

Is there somewhere else I must change this?

Thank you!

Really don't know what to say. Actually the code the sidebar is cope & paste from the homepage to all other pages that need it. And the stylevars for sidebar are on file discuss.css at discuss/css/

Chris

Taurus1 04-19-2012 07:23 AM

Quote:

Originally Posted by ChrisTERiS (Post 2321504)
Really don't know what to say. Actually the code the sidebar is cope & paste from the homepage to all other pages that need it. And the stylevars for sidebar are on file discuss.css at discuss/css/

Chris

Yeah that is why it is so strange. I edited it in the discuss.css file, but for some reason it will not take the changes on that page. :erm:

I'll play around with it some more. Thank you.

EDIT: Figured it out. I created a custom.css file for my dark forum skins, and forgot to change the names from discuss.css to custom.css after the upgrade.

Christos Teriakis 04-19-2012 07:25 AM

Quote:

Originally Posted by Taurus1 (Post 2321505)
Yeah that is why it is so strange. I edited it in the discuss.css file, but for some reason it will not take the changes on that page. :erm:

I'll play around with it some more. Thank you.

Try to clear your browser's cache. Sometimes helps and maked ...miracles:rolleyes:

Taurus1 04-19-2012 07:33 AM

Quote:

Originally Posted by ChrisTERiS (Post 2321507)
Try to clear your browser's cache. Sometimes helps and maked ...miracles:rolleyes:

I edited my previous post. I found it. Thanks again Chris.

David_R 04-19-2012 07:37 AM

Hey,

Thanks for the Best Modifciation I have ever came accross, Can you please tell me how I can enable a guest to post a topic there. Its difficult for me to understand I am trying my best to search but unable to do so.
http://www.indiagarage.com/discuss.php


Regards,
R

Christos Teriakis 04-19-2012 08:08 AM

For those who are seeing it as a business tool for their site (yes, it can be a business tool) and not as an additional toy in their collection, I've started a project in my site:
http://www.vbulleton.com/project.php?projectid=1

Please note that you must register to be able to post.

Thank you
Chris

Christos Teriakis 04-19-2012 08:11 AM

Quote:

Originally Posted by David_R (Post 2321510)
Hey,

Thanks for the Best Modifciation I have ever came accross, Can you please tell me how I can enable a guest to post a topic there. Its difficult for me to understand I am trying my best to search but unable to do so.
http://www.indiagarage.com/discuss.php


Regards,
R

The common rule in forum software is that guests can only read content and not post content. Sure it can be done by setting in usergroup "Unregistered/Not login" permission to post. Just keep in mind that many things should not work. eg to whom to send a PM for a new reply? ...or what to show when someone clicks on the username.

Chris

Christos Teriakis 04-19-2012 08:14 AM

Quote:

Originally Posted by Taurus1 (Post 2321509)
I edited my previous post. I found it. Thanks again Chris.

You welcome. As I said in a previous post, my design knowledge is minimal. It's not bad to say it. Coding is different that design. So this post is going to DaVinchi too. If you have a final css version that works, I can add it to the distribution file, to avoid all these changes after a new release.

Thank you both of you.

Chris

David_R 04-19-2012 09:27 AM

Quote:

Originally Posted by ChrisTERiS (Post 2321514)
The common rule in forum software is that guests can only read content and not post content. Sure it can be done by setting in usergroup "Unregistered/Not login" permission to post. Just keep in mind that many things should not work. eg to whom to send a PM for a new reply? ...or what to show when someone clicks on the username.

Chris

Can you please tell me how to edit the article in discuss mods, I am unable to search the options for the same ? Is there any paid module available for this I would like to buy.

Christos Teriakis 04-19-2012 09:43 AM

Quote:

Originally Posted by David_R (Post 2321525)
Can you please tell me how to edit the article in discuss mods, I am unable to search the options for the same ? Is there any paid module available for this I would like to buy.

1.- Article?? Could you please add a screenshot to understand what you want to change?

2.- Not yet, but I'm planing to do if there is interest from other member. In this case is better to goto:
http://www.vbulleton.com/project.php?projectid=1
to post any feature request that you maybe have.

Chris

David_R 04-19-2012 10:04 AM

Quote:

Originally Posted by ChrisTERiS (Post 2321527)
1.- Article?? Could you please add a screenshot to understand what you want to change?

2.- Not yet, but I'm planing to do if there is interest from other member. In this case is better to goto:
http://www.vbulleton.com/project.php?projectid=1
to post any feature request that you maybe have.

Chris

I am not able to delete answer and question of the user post in dicuss, can you please help where is the option located there ?

Christos Teriakis 04-19-2012 10:13 AM

Quote:

Originally Posted by David_R (Post 2321531)
I am not able to delete answer and question of the user post in dicuss, can you please help where is the option located there ?

Pleace have patience and don't make double posts. First of all I've already replied to this question, and if I remember well it was yours. Second you send me a PM which I already replied. And now I'm finding this post.

Please understand that if everyone posts 3 times for the same issue, soon I'll give up.

Thank you for your understanding
Chris

David_R 04-19-2012 10:21 AM

Database error in vBulletin 4.1.11:

Invalid SQL:
SELECT * FROM user WHERE userid= LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1
Error Number : 1064
Request Date : Thursday, April 19th 2012 @ 04:44:24 PM
Error Date : Thursday, April 19th 2012 @ 04:44:24 PM
Script : http://www.indiagarage.com/discuss.php?do=savereply
Referrer : http://www.indiagarage.com/discuss.p...n&questionid=3
IP Address : 122.182.10.142
Username : Rockzer
Classname : vB_Database
MySQL Version : 5.0.95-community-log

hakkuo23 04-19-2012 11:01 AM

Code:

Database error in vBulletin 4.1.12:

Invalid SQL:
SELECT * FROM vb_user WHERE userid= LIMIT 1;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1
Error Number  : 1064
Request Date  : Thursday, April 19th 2012 @ 08:01:09 AM
Error Date    : Thursday, April 19th 2012 @ 08:01:09 AM
Script        : http://xenogamers.org/discuss.php?do=savereply
Referrer      : http://xenogamers.org/discuss.php?do=viewquestion&questionid=5
IP Address    : 24.97.196.3
Username      : silence
Classname    : vB_Database_MySQLi
MySQL Version : 5.1.61-cll


SilverBoy 04-19-2012 11:47 AM

nice work as always Chris :)

I just wonder if the questions and replies added to the post count of the user? I think we need if it is not added to show it in user profile and user posts too :).

BadgerDog 04-19-2012 12:08 PM

Installed with thanks ... :)

Nicely done .. has interesting potential for our site ...

I'm not a programmer, so where do I find the settings to clean up and better color match the pages against our native color scheme?

Thanks for any feedback ... :)

Regards,
Doug

ps: Even though the usergroup setting..

Can Access Discuss?
If set to No, members of this usergroup will not be able to see even the Discuss Homepage
NO

..is set to NO, the users of this group still see the TAB marked Questions. Unfortunately, that just creates a pile of private PM's asking why they can't access it. Wouldn't it be simpler to just not show the TAB id the usergroup isn't allowed access?

BadgerDog 04-19-2012 12:25 PM

Well asked a question and tried to answer it myself ... :D

Used XXX's to preserve some privacy ... ;)

Quote:

Database error in vBulletin 4.1.3:

Invalid SQL:
SELECT * FROM user WHERE userid= LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1
Error Number : 1064
Request Date : Thursday, April 19th 2012 @ 09:22:54 AM
Error Date : Thursday, April 19th 2012 @ 09:22:54 AM
Script : http://www.xxxx.com/discuss.php?do=savereply
Referrer : http://www.xxxx.com/discuss.php?do=v...n&questionid=2
IP Address : 99.99.99.99
Username : Tester
Classname : vB_Database
MySQL Version : 5.0.95
Regards,
Doug

BadgerDog 04-19-2012 12:49 PM

Also ... :)

Seem to have a cosmetic issue with Facebook buttons appearing in the middle of other fields, over writing stuff that's there? :confused:

We don't use Facebook and all the vBulletin options for it are turned OFF ...

Thanks

Regards,
Doug


All times are GMT. The time now is 11: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.01552 seconds
  • Memory Usage 1,852KB
  • 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
  • (2)bbcode_code_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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