vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Mark User as Contributor (https://vborg.vbsupport.ru/showthread.php?t=94507)

Club3G 01-14-2006 07:30 PM

[high]* Club3G clicks install.
[/high]

3.5.3, two small issues,

- The install doc says:
Code:

Edit file 'contributors.php'
Change 'xxx@xxx.xxx' to your paypal email (2 places)

But I only see one instance of it.

Additionally, importing the product didn't create the phrase bf2_contribs, I had to make it manually. Working perfectly though, thank you. :)

White Knight 05-29-2006 12:22 PM

How do you upgrade from 3.0 since i have 3.0 already installed?

White Knight 05-29-2006 12:30 PM

Nevermind.. fix the code myself..

If you already have 3.0 installed and you need to just do a upgade.. download this xml file.

Dont want anyone that used 3.0 and couldnt get it to work on 3.5 just junk it.. specially when it can make a lot of your members mad

SHalliday 06-01-2006 06:59 PM

Looking for something like this for quite some time. Thank you and Clicks Install

between worlds 06-12-2006 08:54 PM

Installed. Thank you!

ditangquan 06-16-2006 10:28 PM

this thing is buggy. i don't see anything on the memberinfo even though i put the phrase in the right place. i do show it on the regular info page. 3.5.4

Boofo 06-16-2006 11:01 PM

Quote:

Originally Posted by ditangquan
this thing is buggy. i don't see anything on the memberinfo even though i put the phrase in the right place. i do show it on the regular info page. 3.5.4

It is not, buggy. The code to look for my have changed.

Don't use it if you don't want to. ;)

hotwheels 06-17-2006 09:47 PM

will try tonight........

The Wise One 06-18-2006 02:41 AM

installed. thanks for porting it.

i also had to remove the DB code as i got the same error. after that...installed just fine and works great.

between worlds 06-21-2006 09:14 PM

I installed it fine but the link does not appear in the footer it shows up as:

Quote:

- -
The link should be between the dashes but for some reason isn't showing. Any idea why this might be?

The code looks like this

Quote:

<td class="tfoot" align="right">
<div class="smallfont">

<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
<a href="contributors.php">$vbphrase[bf2_contribs]</a> -
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>

<br />
$vboptions[copyrighttext]


</td>
</tr>
</table>

VMB 08-13-2006 01:23 AM

How would I get the contributor title to show up above avatars on the postbit_legacy?

brvheart 10-02-2006 09:35 PM

any chance for this on 3.6.x? I sure hope so :)

phpdevrus 10-03-2006 02:31 AM

yep would definitely be great for 3.6.x :-)

spaghie 10-07-2006 09:33 PM

It worked for me on 3.6.1! thanks.

brvheart 10-09-2006 01:04 AM

sweet thank you :)

Sax on the Web 12-08-2006 08:15 AM

Got following error message. What am I doing wrong?

There seems to have been a problem with the The Sax on the Web Forum database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.
We apologise for any inconvenience.


Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT `userid`, `username`, `usergroupid`, `displaygroupid`
FROM `user`
WHERE `contrib` = '1';

MySQL Error : Unknown column 'contrib' in 'where clause'
Error Number : 1054
Date : Friday, December 8th 2006 @ 11:41:05 AM
Script : http://forum.saxontheweb.net/contributors.php
Referrer :
IP Address : 84.249.42.17
Username : Harri Rautiainen
Classname : vB_Database

MrPHD 12-08-2006 09:15 AM

Great job. Thanks and installed

BuRNZau 07-08-2007 12:53 PM

I have an old database and I wanted to know if I can use phpMyAdmin to list all my users in the database marked as contributors?

ozmazdaclub 08-08-2007 03:18 PM

Quote:

Originally Posted by Zachariah (Post 769446)
Try:
<a href="$vboptions[bburl]/contributors.php">$vbphrase[contribs]</a>

between worlds - Have you tried that?


All times are GMT. The time now is 01: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.01263 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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