Go Back   vb.org Archive > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 25 of 45
Search took 0.00 seconds.
Search: Posts Made By: MacMorag
Forum: vB3 General Discussions 04-11-2006, 09:08 PM
Replies: 0
Views: 710
Posted By MacMorag
moderate.php - moderate a new field - how?

I have a hack which writes an additional field to the post table whenever a new post is made. And all works ok.

Except if I attempt to "moderate" one of these new posts - and I will want to...
Forum: vB3 General Discussions 04-11-2006, 10:55 AM
Replies: 0
Views: 866
Posted By MacMorag
New post field problem - not defined in $validfields

I have added a new field to the 'post' table. This field gets set when a new post is made. However, when I try to moderate any new post which will update this new field, I get:

Fatal error: Field...
Forum: vB3 General Discussions 04-04-2006, 09:09 AM
Replies: 0
Views: 660
Posted By MacMorag
php conditional efficiency

Is there much of a difference, server efficiency-wise, between the following:

In php:

if ($foo = bar) {action}

In html:

<if condition="$foo[bar]">action</if>
Forum: vB3 General Discussions 04-03-2006, 06:23 PM
Replies: 0
Views: 827
Posted By MacMorag
newreply redirect - how?

I'm trying to redirect a user after they have just replied to a post, to a specific page. The URL of this specific page varies, so I have to pass a variable in the URL formed by newreply.php. The...
Forum: vB3 General Discussions 03-31-2006, 09:41 AM
Replies: 0
Views: 666
Posted By MacMorag
how to pass additional variable to newreply?

Please ignore - php101 :tired:
Forum: vBulletin 3.5 Template Modifications 11-15-2005, 07:34 AM
Replies: 25
Views: 8,137
Posted By MacMorag
Just to clarify: There are two ways a new...

Just to clarify:

There are two ways a new member can arrive. The referral field will be visible or hidden, depending on how the visitor arrives -

1. Visitor has heard about the site via...
Forum: Modification Requests/Questions (Unpaid) 10-25-2005, 06:18 PM
Replies: 4
Views: 1,315
Posted By MacMorag
Nearly there - The first solution doesn't...

Nearly there -

The first solution doesn't work. It just leaves a blank space where the newuser name should appear in the "board stats".

The second solution does work. Well almost. There was an...
Forum: Modification Requests/Questions (Unpaid) 10-25-2005, 03:39 PM
Replies: 4
Views: 1,315
Posted By MacMorag
Thanks Chris - I'll try later, and update this...

Thanks Chris - I'll try later, and update this thread with outcome.

Cheers.

Iain
Forum: Modification Requests/Questions (Unpaid) 10-25-2005, 02:03 PM
Replies: 4
Views: 1,315
Posted By MacMorag
Newest REGISTERED member in forumhome.

n the board "statistics" is it possible to change "Welcome to our newest member" so that it shows the latest registered member, instead of the default which shows unregistered members too.

The...
Forum: Modification Requests/Questions (Unpaid) 10-17-2005, 07:35 AM
Replies: 1
Views: 774
Posted By MacMorag
Referrals at registration hack request

Currently on vb, when a user registers via a referral link, the "registered by" field is prepopulated with the referring members name. This is great - except that if the registering member clears...
Forum: Modification Requests/Questions (Unpaid) 10-17-2005, 07:25 AM
Replies: 2
Views: 1,005
Posted By MacMorag
Sorry Chris, should have been more explicit. ...

Sorry Chris, should have been more explicit.

What I want to do is add an image after/below the users name in postbit. For example, the image could be 1 star, 2 stars..... The more referrals they...
Forum: vBulletin 3.5 Template Modifications 10-16-2005, 10:00 PM
Replies: 25
Views: 8,137
Posted By MacMorag
Bulletproof referral awards at registration

The way vb is set up, means that it is possible for a registering user to clear the "referred by" field when they are completing the registration form - thus robbing the referring member of a...
Forum: Modification Requests/Questions (Unpaid) 10-16-2005, 09:59 PM
Replies: 2
Views: 1,005
Posted By MacMorag
Referral Rewards

Is there a 3.5 hack which rewards members for the number of referrals they make?

I want to reward members, by increasing their rank, relative to the number of referrals they have (as opposed to...
Forum: Modification Requests/Questions (Unpaid) 10-14-2005, 10:15 PM
Replies: 3
Views: 982
Posted By MacMorag
Thanks MrNase. Excellent.

Thanks MrNase. Excellent.
Forum: Modification Requests/Questions (Unpaid) 10-14-2005, 07:09 PM
Replies: 3
Views: 982
Posted By MacMorag
check username availability at registration

I've seen this on other forums - but can't remember where.

When a user registers, they choose a username. They can check whether that name is available, before they complete the rest of the...
Forum: Modification Requests/Questions (Unpaid) 10-14-2005, 11:10 AM
Replies: 10
Views: 1,646
Posted By MacMorag
I'd like this too. Only had a quick look, but...

I'd like this too. Only had a quick look, but seems no more than putting code from profile.php into register.php. If I get it done, I'll post here.

Or is there another way?
Forum: Modification Requests/Questions (Unpaid) 10-13-2005, 10:48 AM
Replies: 19
Views: 2,054
Posted By MacMorag
I would love this too. With the option of...

I would love this too.

With the option of creating a thumbnail of the uploaded image - in addition to the initial resize.
Forum: Modification Requests/Questions (Unpaid) 10-13-2005, 10:42 AM
Replies: 1
Views: 871
Posted By MacMorag
One-click registration. Possible?

At present, two screens are required:

1 - Agree to the rules, and click button
2 - Complete the main registration form, and click another button

I would like to do this in one page, ie the...
Forum: vB3 General Discussions 06-30-2005, 02:12 PM
Replies: 4
Views: 990
Posted By MacMorag
Thanks again Joe. This time I'm listening ;) ...

Thanks again Joe. This time I'm listening ;)

I just guessed that it was a php problem somewhere. But...

I do know that I DID make a change to the newthread template - so I'm now off to see...
Forum: vB3 General Discussions 06-30-2005, 12:59 PM
Replies: 4
Views: 990
Posted By MacMorag
Hi Joe, I've checked both newthread.php and...

Hi Joe,

I've checked both newthread.php and newreply.php and both are fine. However, I have found a hacked file which both use: includes/functions_newpost.php

But I can't see any amendments...
Forum: vB3 General Discussions 06-30-2005, 12:16 PM
Replies: 4
Views: 990
Posted By MacMorag
I've "broken" the vB search - and need help

I have a very hacked vB3.0.7 board. Somewhere along the way I have broken the search.

e.g. I create a new thread (or post). If I then subsequently search for a very specific word which is...
Forum: vB3 Programming Discussions 08-17-2004, 03:24 PM
Replies: 1
Views: 895
Posted By MacMorag
Accessing MySQL database from another website?

Is it possible to READ a MySQL database on Site A from Site B, and if so how?

I would like to display some Site A forum threads on Site B, but don't want to simply link to these pages. I won't be...
Forum: vB3 General Discussions 08-10-2004, 08:40 AM
Replies: 3
Views: 968
Posted By MacMorag
Lindsay, try this: in newreply.php find the...

Lindsay, try this:

in newreply.php find the condition which redirects to $url (around line 243). Delete the first part of the arguement, leaving just the else code. This will redirect to the forum...
Forum: vB3 General Discussions 08-10-2004, 07:57 AM
Replies: 3
Views: 968
Posted By MacMorag
I'd quite like this info too - and haven't found...

I'd quite like this info too - and haven't found it searching here.

However, at www.vbulletin.com, I did find this:

Post redirect (http://www.vbulletin.com/forum/showthread.php?t=81598)
...
Forum: vB3 Programming Discussions 08-03-2004, 05:07 PM
Replies: 1
Views: 938
Posted By MacMorag
MySQL help - isolating a substring

Working directly on the database via phpmyadmin, how do I extract "XXXX" from the following string. I will store "XXXX" in a new field:

String:

abcabcabcabcXXXXabcabcabcabc


the "abc..."...
Showing results 1 to 25 of 45

 
Forum Jump

All times are GMT. The time now is 09:53 AM.


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.01632 seconds
  • Memory Usage 2,042KB
  • 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)footer
  • (1)forumjump
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (2)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (25)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (10)threadbit_pagelink 

Phrase Groups Available:
  • global
  • inlinemod
  • prefix
  • search
Included Files:
  • ./search.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_search.php
  • ./includes/functions_databuild.php
  • ./includes/functions_forumlist.php
  • ./includes/functions_misc.php
  • ./includes/functions_forumdisplay.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • search_before_process
  • search_start
  • search_results_start
  • search_results_query_posts
  • search_results_prebits
  • threadbit_process
  • search_results_postbit
  • pagenav_page
  • pagenav_complete
  • forumjump
  • search_complete
  • navbits
  • navbits_complete